Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001644, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.598/1.598, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 11.98 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7522, allocations: 153.8 MB / 1.024 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1971/0.9493, allocations: 177.2 MB / 1.197 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00676/0.9561, allocations: 4.429 MB / 1.201 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008475/0.957, allocations: 15.88 kB / 1.201 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.9579, allocations: 190.7 kB / 1.201 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.9602, allocations: 0.7195 MB / 1.202 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.9645, allocations: 1.406 MB / 1.203 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.9667, allocations: 1.687 MB / 1.205 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/0.9675, allocations: 377.7 kB / 1.205 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.9689, allocations: 0.5097 MB / 1.206 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007506/0.9696, allocations: 410.2 kB / 1.206 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.9698, allocations: 28 kB / 1.206 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.9733, allocations: 1.808 MB / 1.208 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.9737, allocations: 171.4 kB / 1.208 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005794/0.9743, allocations: 304.2 kB / 1.208 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.9759, allocations: 0.8965 MB / 1.209 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.976, allocations: 4 kB / 1.209 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.773e-06/0.976, allocations: 0 / 1.209 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.415e-05/0.976, allocations: 0 / 1.209 GB, free: 1.168 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002028/0.978, allocations: 0.9279 MB / 1.21 GB, free: 184 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.9781, allocations: 8.031 kB / 1.21 GB, free: 176 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.9802, allocations: 291 kB / 1.211 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/0.9811, allocations: 437.5 kB / 1.211 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.9812, allocations: 40.94 kB / 1.211 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.9813, allocations: 43.91 kB / 1.211 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.9825, allocations: 0.5625 MB / 1.212 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.9825, allocations: 0 / 1.212 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.9826, allocations: 23.92 kB / 1.212 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.9826, allocations: 12 kB / 1.212 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.9838, allocations: 487.6 kB / 1.212 GB, free: 14.23 MB / 0.9669 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.00289/0.9867, allocations: 2.135 MB / 1.214 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.9877, allocations: 434.4 kB / 1.215 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.9882, allocations: 244.7 kB / 1.215 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007357/0.989, allocations: 408.3 kB / 1.215 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006938/0.9897, allocations: 310.9 kB / 1.215 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 2.996e-06/0.9897, allocations: 0 / 1.215 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001958/0.9917, allocations: 0.7426 MB / 1.216 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.9917, allocations: 55.41 kB / 1.216 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006575/0.9924, allocations: 494.1 kB / 1.217 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.9925, allocations: 37.7 kB / 1.217 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.9927, allocations: 268 kB / 1.217 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.9929, allocations: 114.3 kB / 1.217 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.9929, allocations: 53.69 kB / 1.217 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.9931, allocations: 362.8 kB / 1.218 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.9937, allocations: 212.8 kB / 1.218 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/0.9943, allocations: 336 kB / 1.218 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.9954, allocations: 0.5804 MB / 1.219 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.9955, allocations: 3.938 kB / 1.219 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001492/0.997, allocations: 0.6795 MB / 1.219 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/0.997, allocations: 68.48 kB / 1.219 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.9971, allocations: 4 kB / 1.219 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.9971, allocations: 4 kB / 1.219 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.9976, allocations: 108.1 kB / 1.219 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.9976, allocations: 8 kB / 1.219 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.9983, allocations: 103.4 kB / 1.22 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.9984, allocations: 20 kB / 1.22 GB, free: 6.105 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.000306/0.9987, allocations: 189.6 kB / 1.22 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.9988, allocations: 59.33 kB / 1.22 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/1, allocations: 0.5645 MB / 1.22 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/1, allocations: 4 kB / 1.22 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1, allocations: 0 / 1.22 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/1, allocations: 0 / 1.22 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/1.003, allocations: 1.397 MB / 1.222 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.003, allocations: 4 kB / 1.222 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/1.003, allocations: 84.33 kB / 1.222 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/1.003, allocations: 11.98 kB / 1.222 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/1.003, allocations: 8 kB / 1.222 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/1.003, allocations: 15.92 kB / 1.222 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.003, allocations: 4 kB / 1.222 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/1.005, allocations: 0.981 MB / 1.223 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/1.005, allocations: 172.4 kB / 1.223 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/1.006, allocations: 15.98 kB / 1.223 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/1.006, allocations: 52.02 kB / 1.223 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/1.006, allocations: 47.83 kB / 1.223 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/1.006, allocations: 19.98 kB / 1.223 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004414/1.007, allocations: 354.8 kB / 1.223 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.7e-07/1.007, allocations: 0 / 1.223 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006318/1.007, allocations: 147.8 kB / 1.224 GB, free: 1.801 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004855/1.008, allocations: 194 kB / 1.224 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001314/1.009, allocations: 0.6082 MB / 1.224 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.009, allocations: 0 / 1.224 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006439/1.01, allocations: 295 kB / 1.225 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/1.012, allocations: 277.5 kB / 1.225 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/1.014, allocations: 1.284 MB / 1.226 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/1.014, allocations: 0.859 MB / 1.227 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/1.015, allocations: 51.42 kB / 1.227 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/1.015, allocations: 0 / 1.227 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.01504/1.03, allocations: 8.931 MB / 1.236 GB, free: 5.285 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches