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.001436/0.001443, allocations: 116.4 kB / 16.37 MB, free: 6.012 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.001486/0.001486, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.17 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.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 61.59 kB / 0.814 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2503, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.6685/0.9187, allocations: 194.1 MB / 1.141 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.9289, allocations: 10.04 MB / 1.15 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.93, allocations: 29.88 kB / 1.151 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009611/0.931, allocations: 399.2 kB / 1.151 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.9336, allocations: 1.022 MB / 1.152 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.9365, allocations: 1.301 MB / 1.153 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.9385, allocations: 1.693 MB / 1.155 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.9395, allocations: 0.8361 MB / 1.156 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.9424, allocations: 1.417 MB / 1.157 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.943, allocations: 0.5273 MB / 1.158 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.9431, allocations: 62.44 kB / 1.158 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.9457, allocations: 1.405 MB / 1.159 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.946, allocations: 344.8 kB / 1.159 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.9464, allocations: 442.6 kB / 1.16 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.9484, allocations: 1.505 MB / 1.161 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.9484, allocations: 0 / 1.161 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9484, allocations: 0 / 1.161 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.9485, allocations: 0 / 1.161 GB, free: 1.176 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.001585/0.9501, allocations: 1.143 MB / 1.162 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.9501, allocations: 9.188 kB / 1.162 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.9519, allocations: 296.6 kB / 1.163 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.953, allocations: 0.5721 MB / 1.163 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.9531, allocations: 57.62 kB / 1.163 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.684e-05/0.9532, allocations: 75.44 kB / 1.163 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.9545, allocations: 0.8964 MB / 1.164 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.9546, allocations: 5 kB / 1.164 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/0.9546, allocations: 31.69 kB / 1.164 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/0.9547, allocations: 41.27 kB / 1.164 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.9558, allocations: 0.5742 MB / 1.165 GB, free: 15.25 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.003726/0.9595, allocations: 3.487 MB / 1.168 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.9599, allocations: 222.5 kB / 1.168 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.9602, allocations: 150.8 kB / 1.169 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008039/0.961, allocations: 487 kB / 1.169 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.9611, allocations: 39.95 kB / 1.169 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.9611, allocations: 0 / 1.169 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.001226/0.9623, allocations: 452.7 kB / 1.169 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.9624, allocations: 112.3 kB / 1.17 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.9634, allocations: 0.8647 MB / 1.17 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.9634, allocations: 33.28 kB / 1.17 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.9638, allocations: 383 kB / 1.171 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.9639, allocations: 78.88 kB / 1.171 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.964, allocations: 59.61 kB / 1.171 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.9641, allocations: 315.5 kB / 1.171 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.9643, allocations: 112 kB / 1.171 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.9646, allocations: 215 kB / 1.172 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.9651, allocations: 310.4 kB / 1.172 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.9651, allocations: 1.406 kB / 1.172 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006862/0.9658, allocations: 398.6 kB / 1.172 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9659, allocations: 6.906 kB / 1.172 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.9659, allocations: 6.125 kB / 1.172 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.9659, allocations: 8.531 kB / 1.172 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.9662, allocations: 63.8 kB / 1.172 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.9663, allocations: 8.688 kB / 1.172 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.9668, allocations: 74.45 kB / 1.172 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.9668, allocations: 13.06 kB / 1.172 GB, free: 9.961 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.0002803/0.9671, allocations: 235 kB / 1.173 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.9673, allocations: 89.69 kB / 1.173 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006187/0.9679, allocations: 319.8 kB / 1.173 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.9679, allocations: 10.88 kB / 1.173 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9679, allocations: 0 / 1.173 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9679, allocations: 2.578 kB / 1.173 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.9699, allocations: 1.362 MB / 1.174 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9699, allocations: 5.031 kB / 1.174 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.9702, allocations: 44.94 kB / 1.174 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.9702, allocations: 5.219 kB / 1.174 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.9702, allocations: 13.47 kB / 1.174 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.9702, allocations: 17.42 kB / 1.174 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9702, allocations: 5.625 kB / 1.174 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.9708, allocations: 0.5101 MB / 1.175 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.9711, allocations: 192.8 kB / 1.175 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.9712, allocations: 7.391 kB / 1.175 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.9715, allocations: 16.66 kB / 1.175 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.9716, allocations: 32.88 kB / 1.175 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.9716, allocations: 8 kB / 1.175 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007929/0.9724, allocations: 0.6175 MB / 1.176 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9724, allocations: 0 / 1.176 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006793/0.9731, allocations: 164.8 kB / 1.176 GB, free: 7.898 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.0004205/0.9736, allocations: 190.1 kB / 1.176 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.9741, allocations: 263.2 kB / 1.176 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9742, allocations: 5.562 kB / 1.176 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.9744, allocations: 129.8 kB / 1.177 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.9762, allocations: 422.6 kB / 1.177 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.9779, allocations: 1.237 MB / 1.178 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.9785, allocations: 0.9954 MB / 1.179 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004733/0.9789, allocations: 167 kB / 1.179 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.9791, allocations: 51.06 kB / 1.179 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.9791, allocations: 0 / 1.179 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of Templates: time 0.02126/1, allocations: 13.68 MB / 1.193 GB, free: 15.75 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 gbode -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