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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001575/0.001575, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001686/0.001686, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 64.89 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2917, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.7806/1.072, allocations: 194.1 MB / 1.141 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01312/1.086, allocations: 10.05 MB / 1.15 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/1.087, allocations: 29.66 kB / 1.151 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/1.089, allocations: 393.8 kB / 1.151 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/1.092, allocations: 1.022 MB / 1.152 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003893/1.096, allocations: 1.298 MB / 1.153 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003065/1.099, allocations: 1.696 MB / 1.155 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/1.101, allocations: 0.8278 MB / 1.156 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/1.104, allocations: 1.422 MB / 1.157 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008354/1.105, allocations: 0.5274 MB / 1.158 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/1.105, allocations: 62.75 kB / 1.158 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/1.108, allocations: 1.406 MB / 1.159 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/1.109, allocations: 350.6 kB / 1.159 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005081/1.109, allocations: 430.2 kB / 1.16 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/1.112, allocations: 1.516 MB / 1.161 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.112, allocations: 0 / 1.161 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/1.112, allocations: 1.344 kB / 1.161 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.281e-05/1.112, allocations: 0 / 1.161 GB, free: 1.078 MB / 0.8575 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.001627/1.114, allocations: 1.137 MB / 1.162 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.114, allocations: 10.38 kB / 1.162 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/1.115, allocations: 291.6 kB / 1.163 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/1.117, allocations: 0.5735 MB / 1.163 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/1.117, allocations: 55.03 kB / 1.163 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/1.117, allocations: 76.16 kB / 1.163 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/1.118, allocations: 0.8947 MB / 1.164 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.118, allocations: 5.094 kB / 1.164 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/1.118, allocations: 35.97 kB / 1.164 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/1.118, allocations: 35.91 kB / 1.164 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/1.119, allocations: 0.5746 MB / 1.165 GB, free: 15.16 MB / 0.8731 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.004293/1.124, allocations: 3.497 MB / 1.168 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/1.124, allocations: 214 kB / 1.168 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/1.124, allocations: 154.6 kB / 1.169 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009141/1.125, allocations: 487.8 kB / 1.169 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/1.125, allocations: 44.67 kB / 1.169 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/1.125, allocations: 0 / 1.169 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.001352/1.127, allocations: 449.9 kB / 1.169 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/1.127, allocations: 118.5 kB / 1.17 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.128, allocations: 0.8633 MB / 1.17 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/1.128, allocations: 31.48 kB / 1.17 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/1.128, allocations: 381.2 kB / 1.171 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/1.128, allocations: 82.7 kB / 1.171 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/1.129, allocations: 59.7 kB / 1.171 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.129, allocations: 317 kB / 1.171 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/1.129, allocations: 101.8 kB / 1.171 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/1.129, allocations: 216 kB / 1.172 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/1.13, allocations: 312.2 kB / 1.172 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.13, allocations: 1.312 kB / 1.172 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007798/1.131, allocations: 395.6 kB / 1.172 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.131, allocations: 10.78 kB / 1.172 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.131, allocations: 3.562 kB / 1.172 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/1.131, allocations: 7.594 kB / 1.172 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/1.131, allocations: 62.86 kB / 1.172 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.131, allocations: 8.656 kB / 1.172 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/1.132, allocations: 76.17 kB / 1.172 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/1.132, allocations: 14.62 kB / 1.172 GB, free: 9.867 MB / 0.8731 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.0003857/1.132, allocations: 232.8 kB / 1.173 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.132, allocations: 82.66 kB / 1.173 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006525/1.133, allocations: 322.4 kB / 1.173 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.133, allocations: 10.12 kB / 1.173 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/1.133, allocations: 3 kB / 1.173 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.133, allocations: 0 / 1.173 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/1.135, allocations: 1.368 MB / 1.174 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.135, allocations: 4.438 kB / 1.174 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/1.135, allocations: 45.5 kB / 1.174 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/1.135, allocations: 9.953 kB / 1.174 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/1.135, allocations: 9.438 kB / 1.174 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/1.135, allocations: 13.75 kB / 1.174 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/1.135, allocations: 9.719 kB / 1.174 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/1.136, allocations: 0.5049 MB / 1.175 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/1.136, allocations: 190.7 kB / 1.175 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/1.136, allocations: 10.78 kB / 1.175 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/1.137, allocations: 16.78 kB / 1.175 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/1.137, allocations: 32.58 kB / 1.175 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.137, allocations: 8.062 kB / 1.175 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007442/1.137, allocations: 0.614 MB / 1.176 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.71e-07/1.137, allocations: 3.938 kB / 1.176 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006663/1.138, allocations: 169.5 kB / 1.176 GB, free: 7.801 MB / 0.8731 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.0004527/1.139, allocations: 188.1 kB / 1.176 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000599/1.139, allocations: 262.3 kB / 1.176 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.139, allocations: 128 / 1.176 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/1.139, allocations: 137.4 kB / 1.177 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.141, allocations: 424.6 kB / 1.177 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/1.143, allocations: 1.241 MB / 1.178 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/1.144, allocations: 0.9873 MB / 1.179 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005781/1.145, allocations: 167 kB / 1.179 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/1.145, allocations: 49.44 kB / 1.179 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of SimCode: time 1.292e-06/1.145, allocations: 0 / 1.179 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of Templates: time 0.02588/1.171, allocations: 13.68 MB / 1.193 GB, free: 15.66 MB / 0.8887 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 -s cvode -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