Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 107.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 185.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9089/0.9102, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2404/1.151, allocations: 194.1 MB / 1.278 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01327/1.164, allocations: 10.03 MB / 1.288 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/1.165, allocations: 31.81 kB / 1.288 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/1.167, allocations: 401 kB / 1.288 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003322/1.17, allocations: 1.077 MB / 1.289 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/1.173, allocations: 1.319 MB / 1.291 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002468/1.176, allocations: 1.702 MB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/1.178, allocations: 0.8394 MB / 1.293 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/1.181, allocations: 1.452 MB / 1.295 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/1.182, allocations: 0.529 MB / 1.295 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002074/1.182, allocations: 64 kB / 1.295 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/1.185, allocations: 1.415 MB / 1.297 GB, free: 8.762 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004138/1.186, allocations: 351.1 kB / 1.297 GB, free: 8.418 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006135/1.186, allocations: 437.8 kB / 1.297 GB, free: 7.988 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/1.189, allocations: 1.511 MB / 1.299 GB, free: 6.473 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.189, allocations: 0 / 1.299 GB, free: 6.473 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/1.189, allocations: 0 / 1.299 GB, free: 6.473 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.595e-05/1.189, allocations: 0 / 1.299 GB, free: 6.473 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001614/1.191, allocations: 1.146 MB / 1.3 GB, free: 5.273 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.191, allocations: 8.031 kB / 1.3 GB, free: 5.266 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/1.193, allocations: 290.6 kB / 1.3 GB, free: 4.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.194, allocations: 0.5739 MB / 1.301 GB, free: 4.367 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/1.194, allocations: 54 kB / 1.301 GB, free: 4.316 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/1.194, allocations: 80 kB / 1.301 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/1.195, allocations: 0.8947 MB / 1.302 GB, free: 3.281 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.195, allocations: 3.938 kB / 1.302 GB, free: 3.277 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/1.195, allocations: 28 kB / 1.302 GB, free: 3.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/1.195, allocations: 41.3 kB / 1.302 GB, free: 3.211 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009616/1.196, allocations: 0.5787 MB / 1.302 GB, free: 2.633 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/1.2, allocations: 3.481 MB / 1.306 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/1.2, allocations: 231.7 kB / 1.306 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/1.201, allocations: 146.4 kB / 1.306 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/1.201, allocations: 485.4 kB / 1.307 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/1.201, allocations: 38.56 kB / 1.307 GB, free: 13.94 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 2.575e-06/1.201, allocations: 3.938 kB / 1.307 GB, free: 13.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.001215/1.203, allocations: 446.6 kB / 1.307 GB, free: 13.49 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/1.203, allocations: 115 kB / 1.307 GB, free: 13.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/1.204, allocations: 0.8683 MB / 1.308 GB, free: 12.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/1.204, allocations: 29.7 kB / 1.308 GB, free: 12.44 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/1.204, allocations: 387.8 kB / 1.308 GB, free: 12.06 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/1.204, allocations: 70.95 kB / 1.309 GB, free: 11.99 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.204, allocations: 57.7 kB / 1.309 GB, free: 11.93 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.204, allocations: 314 kB / 1.309 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/1.205, allocations: 111.9 kB / 1.309 GB, free: 11.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/1.205, allocations: 215 kB / 1.309 GB, free: 11.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/1.205, allocations: 313.2 kB / 1.309 GB, free: 10.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.205, allocations: 0 / 1.309 GB, free: 10.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006714/1.206, allocations: 400.2 kB / 1.31 GB, free: 10.51 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.206, allocations: 8 kB / 1.31 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.206, allocations: 0 / 1.31 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/1.206, allocations: 8 kB / 1.31 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/1.207, allocations: 63.84 kB / 1.31 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.207, allocations: 7.984 kB / 1.31 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/1.207, allocations: 83.39 kB / 1.31 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/1.207, allocations: 16 kB / 1.31 GB, free: 10.33 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002597/1.207, allocations: 237.6 kB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/1.207, allocations: 79.06 kB / 1.31 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/1.208, allocations: 312.8 kB / 1.311 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.208, allocations: 7.938 kB / 1.311 GB, free: 9.688 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.208, allocations: 0 / 1.311 GB, free: 9.688 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.208, allocations: 8.047 kB / 1.311 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/1.21, allocations: 1.366 MB / 1.312 GB, free: 8.203 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.21, allocations: 4 kB / 1.312 GB, free: 8.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/1.21, allocations: 47.91 kB / 1.312 GB, free: 8.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.21, allocations: 4 kB / 1.312 GB, free: 8.148 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/1.21, allocations: 15.94 kB / 1.312 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/1.21, allocations: 7.938 kB / 1.312 GB, free: 8.125 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.21, allocations: 7.938 kB / 1.312 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/1.211, allocations: 0.5216 MB / 1.313 GB, free: 7.527 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/1.211, allocations: 184.1 kB / 1.313 GB, free: 7.328 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/1.211, allocations: 15.98 kB / 1.313 GB, free: 7.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/1.212, allocations: 15.92 kB / 1.313 GB, free: 7.297 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/1.212, allocations: 19.92 kB / 1.313 GB, free: 7.277 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/1.212, allocations: 23.94 kB / 1.313 GB, free: 7.254 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007122/1.212, allocations: 0.6083 MB / 1.313 GB, free: 6.648 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/1.212, allocations: 0 / 1.313 GB, free: 6.648 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005874/1.213, allocations: 163.8 kB / 1.314 GB, free: 6.488 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004816/1.213, allocations: 186.9 kB / 1.314 GB, free: 6.305 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005909/1.214, allocations: 274.1 kB / 1.314 GB, free: 6.039 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.214, allocations: 0 / 1.314 GB, free: 6.039 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/1.214, allocations: 129.4 kB / 1.314 GB, free: 5.914 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/1.216, allocations: 423.6 kB / 1.315 GB, free: 5.512 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/1.218, allocations: 1.306 MB / 1.316 GB, free: 4.117 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/1.219, allocations: 0.9881 MB / 1.317 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/1.219, allocations: 51.44 kB / 1.317 GB, free: 3.051 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/1.219, allocations: 0 / 1.317 GB, free: 3.051 MB / 1.045 GB Notification: Performance of Templates: time 0.01687/1.236, allocations: 12.07 MB / 1.329 GB, free: 7.098 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches