Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 188.9 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.845/2.845, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 69.7 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 174.9 MB / 1.316 GB, free: 9.691 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.212/0.5167, allocations: 196.2 MB / 1.508 GB, free: 4.707 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.5342, allocations: 14.5 MB / 1.522 GB, free: 6.168 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.5351, allocations: 47.62 kB / 1.522 GB, free: 6.121 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.5365, allocations: 0.5124 MB / 1.522 GB, free: 5.605 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.541, allocations: 2.007 MB / 1.524 GB, free: 3.59 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.5432, allocations: 0.8907 MB / 1.525 GB, free: 2.703 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003248/0.5464, allocations: 2.627 MB / 1.528 GB, free: 68 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.5476, allocations: 0.8068 MB / 1.529 GB, free: 15.23 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005643/0.5532, allocations: 1.894 MB / 1.53 GB, free: 13.35 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.5551, allocations: 0.9777 MB / 1.531 GB, free: 12.38 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.5553, allocations: 108 kB / 1.531 GB, free: 12.27 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.5575, allocations: 1.161 MB / 1.533 GB, free: 11.11 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.558, allocations: 0.5064 MB / 1.533 GB, free: 10.6 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007488/0.5588, allocations: 0.6416 MB / 1.534 GB, free: 9.953 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.5613, allocations: 1.911 MB / 1.536 GB, free: 8.035 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5613, allocations: 0 / 1.536 GB, free: 8.035 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5613, allocations: 0 / 1.536 GB, free: 8.035 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.5614, allocations: 0 / 1.536 GB, free: 8.035 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002119/0.5635, allocations: 1.415 MB / 1.537 GB, free: 6.586 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.5635, allocations: 12.03 kB / 1.537 GB, free: 6.574 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.5648, allocations: 259 kB / 1.537 GB, free: 6.32 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5662, allocations: 0.7245 MB / 1.538 GB, free: 5.562 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.5662, allocations: 70 kB / 1.538 GB, free: 5.496 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.5664, allocations: 88 kB / 1.538 GB, free: 5.41 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.5682, allocations: 1.18 MB / 1.539 GB, free: 4.156 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.5682, allocations: 4 kB / 1.539 GB, free: 4.152 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/0.5683, allocations: 43.94 kB / 1.539 GB, free: 4.109 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.5683, allocations: 34 kB / 1.539 GB, free: 4.078 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.5698, allocations: 0.9054 MB / 1.54 GB, free: 3.168 MB / 1.232 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.006266/0.5761, allocations: 5.756 MB / 1.546 GB, free: 12.95 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008834/0.577, allocations: 0.5204 MB / 1.546 GB, free: 12.42 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/0.5774, allocations: 299.7 kB / 1.547 GB, free: 12.12 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.5779, allocations: 76.42 kB / 1.547 GB, free: 12.05 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.578, allocations: 46.98 kB / 1.547 GB, free: 11.99 MB / 1.248 GB Notification: Performance of pre-optimization done (n=49): time 2.295e-06/0.578, allocations: 0 / 1.547 GB, free: 11.99 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.001617/0.5796, allocations: 0.803 MB / 1.548 GB, free: 11.18 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.5796, allocations: 55.84 kB / 1.548 GB, free: 11.11 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009195/0.5806, allocations: 0.751 MB / 1.548 GB, free: 10.36 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.5806, allocations: 37.7 kB / 1.548 GB, free: 10.31 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/0.581, allocations: 0.5194 MB / 1.549 GB, free: 9.785 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.5812, allocations: 186.4 kB / 1.549 GB, free: 9.602 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.5814, allocations: 142.6 kB / 1.549 GB, free: 9.457 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5816, allocations: 341.9 kB / 1.55 GB, free: 9.117 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.582, allocations: 245.9 kB / 1.55 GB, free: 8.875 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006605/0.5826, allocations: 0.5469 MB / 1.55 GB, free: 8.195 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5837, allocations: 0.8112 MB / 1.551 GB, free: 7.273 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5837, allocations: 0 / 1.551 GB, free: 7.273 MB / 1.248 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00125/0.5849, allocations: 0.8503 MB / 1.552 GB, free: 6.418 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.585, allocations: 8 kB / 1.552 GB, free: 6.41 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.585, allocations: 8.875 kB / 1.552 GB, free: 6.402 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.585, allocations: 12 kB / 1.552 GB, free: 6.391 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.5855, allocations: 159.8 kB / 1.552 GB, free: 6.234 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.5856, allocations: 19.92 kB / 1.552 GB, free: 6.215 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.5862, allocations: 87.39 kB / 1.552 GB, free: 6.129 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.5863, allocations: 39.94 kB / 1.552 GB, free: 6.09 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0004227/0.5867, allocations: 325.5 kB / 1.553 GB, free: 5.762 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5868, allocations: 95.44 kB / 1.553 GB, free: 5.668 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000994/0.5878, allocations: 0.6179 MB / 1.553 GB, free: 5.039 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5878, allocations: 4 kB / 1.553 GB, free: 5.035 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5878, allocations: 0 / 1.553 GB, free: 5.035 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007146/0.5886, allocations: 0.5211 MB / 1.554 GB, free: 4.5 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.5909, allocations: 1.635 MB / 1.555 GB, free: 2.793 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.5909, allocations: 7.938 kB / 1.555 GB, free: 2.785 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.5915, allocations: 107.8 kB / 1.555 GB, free: 2.68 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5915, allocations: 7.938 kB / 1.555 GB, free: 2.672 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.5915, allocations: 19.98 kB / 1.555 GB, free: 2.652 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5915, allocations: 4 kB / 1.555 GB, free: 2.648 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5915, allocations: 224 / 1.555 GB, free: 2.648 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.5928, allocations: 1.035 MB / 1.556 GB, free: 1.578 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.5931, allocations: 151.2 kB / 1.557 GB, free: 1.43 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.5932, allocations: 15.98 kB / 1.557 GB, free: 1.414 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.5936, allocations: 16 kB / 1.557 GB, free: 1.398 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.5937, allocations: 35.88 kB / 1.557 GB, free: 1.363 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.5938, allocations: 23.98 kB / 1.557 GB, free: 1.34 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000624/0.5944, allocations: 0.5068 MB / 1.557 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.5944, allocations: 4 kB / 1.557 GB, free: 0.8359 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008016/0.5952, allocations: 299.5 kB / 1.557 GB, free: 0.543 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.0005296/0.5957, allocations: 213 kB / 1.558 GB, free: 344 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009438/0.5967, allocations: 0.5925 MB / 1.558 GB, free: 15.74 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5967, allocations: 0 / 1.558 GB, free: 15.74 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.597, allocations: 267.5 kB / 1.559 GB, free: 15.48 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.5987, allocations: 436.2 kB / 1.559 GB, free: 15.06 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.6015, allocations: 1.942 MB / 1.561 GB, free: 13.06 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.6022, allocations: 1.122 MB / 1.562 GB, free: 11.91 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006811/0.6029, allocations: 267 kB / 1.562 GB, free: 11.65 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.6031, allocations: 67.42 kB / 1.562 GB, free: 11.58 MB / 1.264 GB Notification: Performance of SimCode: time 3.91e-07/0.6031, allocations: 0 / 1.562 GB, free: 11.58 MB / 1.264 GB Notification: Performance of Templates: time 0.02771/0.6308, allocations: 16.11 MB / 1.578 GB, free: 11.68 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.669990942813456]