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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.359/3.359, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.904e-06/1.904e-06, allocations: 0 / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.721e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8/0.8, allocations: 192.3 MB / 1.065 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.8167, allocations: 15.51 MB / 1.08 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.8183, allocations: 54.94 kB / 1.08 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.8198, allocations: 0.4984 MB / 1.081 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005077/0.8249, allocations: 2.002 MB / 1.083 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.828, allocations: 1.173 MB / 1.084 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003288/0.8313, allocations: 2.65 MB / 1.087 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.8324, allocations: 0.8084 MB / 1.087 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/0.8378, allocations: 2.273 MB / 1.09 GB, free: 46.89 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.8396, allocations: 0.8851 MB / 1.091 GB, free: 46.8 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002574/0.8399, allocations: 107.9 kB / 1.091 GB, free: 46.8 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.8424, allocations: 0.9339 MB / 1.092 GB, free: 46.71 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006426/0.843, allocations: 0.5429 MB / 1.092 GB, free: 46.65 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008239/0.8438, allocations: 476.1 kB / 1.093 GB, free: 46.6 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.847, allocations: 1.974 MB / 1.094 GB, free: 46.42 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.847, allocations: 0.75 kB / 1.094 GB, free: 46.42 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.733e-06/0.847, allocations: 0 / 1.094 GB, free: 46.42 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.847, allocations: 3.688 kB / 1.094 GB, free: 46.42 MB / 1.01 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.002172/0.8492, allocations: 1.62 MB / 1.096 GB, free: 45.58 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.8492, allocations: 8.531 kB / 1.096 GB, free: 45.58 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.8508, allocations: 356.9 kB / 1.096 GB, free: 45.49 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.8523, allocations: 0.7587 MB / 1.097 GB, free: 45.22 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.8524, allocations: 72.66 kB / 1.097 GB, free: 45.21 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.8525, allocations: 98.28 kB / 1.097 GB, free: 45.21 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.8541, allocations: 1.157 MB / 1.098 GB, free: 44.75 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.8541, allocations: 5.469 kB / 1.098 GB, free: 44.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.8542, allocations: 41.94 kB / 1.098 GB, free: 44.75 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/0.8543, allocations: 33.47 kB / 1.098 GB, free: 44.75 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.8553, allocations: 0.5684 MB / 1.099 GB, free: 44.74 MB / 1.01 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.005651/0.861, allocations: 5.213 MB / 1.104 GB, free: 41.57 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.8619, allocations: 339 kB / 1.104 GB, free: 41.54 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.8623, allocations: 186.3 kB / 1.105 GB, free: 41.52 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005339/0.8628, allocations: 71.47 kB / 1.105 GB, free: 41.52 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.8629, allocations: 45.3 kB / 1.105 GB, free: 41.48 MB / 1.01 GB Notification: Performance of pre-optimization done (n=49): time 3.216e-06/0.8629, allocations: 0 / 1.105 GB, free: 41.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.001826/0.8647, allocations: 0.5483 MB / 1.105 GB, free: 41.38 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.8648, allocations: 61.34 kB / 1.105 GB, free: 41.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.8661, allocations: 0.8452 MB / 1.106 GB, free: 41.11 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.827e-05/0.8662, allocations: 42.2 kB / 1.106 GB, free: 41.08 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005568/0.8667, allocations: 0.6165 MB / 1.107 GB, free: 40.75 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.867, allocations: 196.8 kB / 1.107 GB, free: 40.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000381/0.8674, allocations: 189.5 kB / 1.107 GB, free: 40.6 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003314/0.8677, allocations: 0.6142 MB / 1.108 GB, free: 40.11 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.8681, allocations: 144.2 kB / 1.108 GB, free: 40.11 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009122/0.869, allocations: 0.9409 MB / 1.109 GB, free: 39.13 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.8701, allocations: 0.7991 MB / 1.11 GB, free: 38.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.8702, allocations: 4.094 kB / 1.11 GB, free: 38.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001505/0.8717, allocations: 0.7199 MB / 1.11 GB, free: 38.51 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.8717, allocations: 8.969 kB / 1.11 GB, free: 38.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.8717, allocations: 11.64 kB / 1.11 GB, free: 38.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/0.8717, allocations: 14.56 kB / 1.11 GB, free: 38.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.8724, allocations: 170.5 kB / 1.111 GB, free: 38.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/0.8724, allocations: 20.12 kB / 1.111 GB, free: 38.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.8732, allocations: 91.47 kB / 1.111 GB, free: 38.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.8733, allocations: 40.55 kB / 1.111 GB, free: 38.46 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (95): * Single equations (assignments): 95 * 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.0004554/0.8737, allocations: 294.3 kB / 1.111 GB, free: 38.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.8739, allocations: 98.08 kB / 1.111 GB, free: 38.25 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009042/0.8748, allocations: 435.9 kB / 1.111 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.8748, allocations: 5.828 kB / 1.111 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.8748, allocations: 1 kB / 1.111 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005745/0.8754, allocations: 347.8 kB / 1.112 GB, free: 38.12 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.8779, allocations: 1.457 MB / 1.113 GB, free: 37.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.8779, allocations: 5.391 kB / 1.113 GB, free: 37.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.8785, allocations: 115.1 kB / 1.113 GB, free: 37.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.8785, allocations: 3.469 kB / 1.113 GB, free: 37.71 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.8785, allocations: 20.64 kB / 1.113 GB, free: 37.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.8785, allocations: 4.281 kB / 1.113 GB, free: 37.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.8785, allocations: 9.156 kB / 1.113 GB, free: 37.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.8795, allocations: 0.7838 MB / 1.114 GB, free: 37.38 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.8799, allocations: 136.8 kB / 1.114 GB, free: 37.33 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.88, allocations: 17.03 kB / 1.114 GB, free: 37.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.8804, allocations: 18.86 kB / 1.114 GB, free: 37.32 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.8805, allocations: 32.75 kB / 1.114 GB, free: 37.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.8806, allocations: 20.47 kB / 1.114 GB, free: 37.32 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005725/0.8811, allocations: 0.495 MB / 1.115 GB, free: 37.19 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.8811, allocations: 2.25 kB / 1.115 GB, free: 37.19 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009849/0.8821, allocations: 329.7 kB / 1.115 GB, free: 37.14 MB / 1.01 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.0005403/0.8827, allocations: 189.5 kB / 1.115 GB, free: 37.05 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009056/0.8836, allocations: 486.3 kB / 1.116 GB, free: 37.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8836, allocations: 2.219 kB / 1.116 GB, free: 37.02 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.8839, allocations: 198.9 kB / 1.116 GB, free: 37.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.8857, allocations: 388.2 kB / 1.116 GB, free: 36.97 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.8882, allocations: 1.75 MB / 1.118 GB, free: 36.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.8888, allocations: 0.5099 MB / 1.119 GB, free: 36.04 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006948/0.8895, allocations: 218 kB / 1.119 GB, free: 36.02 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.8897, allocations: 66.52 kB / 1.119 GB, free: 36.01 MB / 1.01 GB Notification: Performance of SimCode: time 7.51e-07/0.8897, allocations: 1.5 kB / 1.119 GB, free: 36.01 MB / 1.01 GB Notification: Performance of Templates: time 0.03059/0.9203, allocations: 14.61 MB / 1.133 GB, free: 34.43 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] 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: 9.751380268950015]