Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00148/0.00148, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001635/0.001635, allocations: 212.4 kB / 23.01 MB, free: 4.57 MB / 14.72 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.948/2.948, allocations: 0.49 GB / 0.7958 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 65.25 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3031, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2132/0.5163, allocations: 199.2 MB / 1.522 GB, free: 9.516 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.5344, allocations: 14.52 MB / 1.536 GB, free: 10.95 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.5357, allocations: 47.62 kB / 1.536 GB, free: 10.9 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.5372, allocations: 0.5124 MB / 1.536 GB, free: 10.38 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.5418, allocations: 1.996 MB / 1.538 GB, free: 8.379 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.544, allocations: 0.9026 MB / 1.539 GB, free: 7.48 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003103/0.5471, allocations: 2.628 MB / 1.542 GB, free: 4.84 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.5482, allocations: 0.7991 MB / 1.543 GB, free: 4.016 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.5527, allocations: 1.902 MB / 1.544 GB, free: 2.129 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.5542, allocations: 0.9731 MB / 1.545 GB, free: 1.152 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.5544, allocations: 108 kB / 1.545 GB, free: 1.047 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.5565, allocations: 1.173 MB / 1.547 GB, free: 15.87 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/0.557, allocations: 0.5025 MB / 1.547 GB, free: 15.37 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006721/0.5577, allocations: 0.6339 MB / 1.548 GB, free: 14.73 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.5601, allocations: 1.919 MB / 1.55 GB, free: 12.8 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5601, allocations: 4 kB / 1.55 GB, free: 12.8 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5601, allocations: 0 / 1.55 GB, free: 12.8 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.5602, allocations: 0 / 1.55 GB, free: 12.8 MB / 1.248 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.002138/0.5623, allocations: 1.407 MB / 1.551 GB, free: 11.36 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5623, allocations: 12.03 kB / 1.551 GB, free: 11.35 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.5636, allocations: 263 kB / 1.551 GB, free: 11.09 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.565, allocations: 0.7331 MB / 1.552 GB, free: 10.33 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.5651, allocations: 70 kB / 1.552 GB, free: 10.26 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.5652, allocations: 95.98 kB / 1.552 GB, free: 10.16 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5669, allocations: 1.173 MB / 1.553 GB, free: 8.922 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.5669, allocations: 7.938 kB / 1.553 GB, free: 8.914 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.567, allocations: 39.94 kB / 1.553 GB, free: 8.875 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/0.5671, allocations: 34 kB / 1.553 GB, free: 8.84 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.5684, allocations: 0.9054 MB / 1.554 GB, free: 7.934 MB / 1.248 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.00562/0.574, allocations: 5.756 MB / 1.56 GB, free: 1.707 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008181/0.5748, allocations: 0.5042 MB / 1.56 GB, free: 1.195 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.5753, allocations: 305.8 kB / 1.561 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/0.5757, allocations: 80.41 kB / 1.561 GB, free: 0.8125 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.5758, allocations: 42.98 kB / 1.561 GB, free: 0.7578 MB / 1.248 GB Notification: Performance of pre-optimization done (n=49): time 1.794e-06/0.5758, allocations: 0 / 1.561 GB, free: 0.7578 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.001456/0.5772, allocations: 0.8109 MB / 1.562 GB, free: 15.95 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.5773, allocations: 59.78 kB / 1.562 GB, free: 15.88 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008763/0.5781, allocations: 0.7471 MB / 1.562 GB, free: 15.12 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.5782, allocations: 37.7 kB / 1.562 GB, free: 15.08 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.5786, allocations: 0.5194 MB / 1.563 GB, free: 14.55 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.5788, allocations: 186.4 kB / 1.563 GB, free: 14.37 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.5789, allocations: 146.6 kB / 1.563 GB, free: 14.22 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5791, allocations: 337.9 kB / 1.564 GB, free: 13.88 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.5795, allocations: 249.8 kB / 1.564 GB, free: 13.64 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.5801, allocations: 0.5585 MB / 1.564 GB, free: 12.95 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5811, allocations: 0.7995 MB / 1.565 GB, free: 12.04 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5811, allocations: 4 kB / 1.565 GB, free: 12.03 MB / 1.264 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001224/0.5823, allocations: 0.8506 MB / 1.566 GB, free: 11.17 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5824, allocations: 12 kB / 1.566 GB, free: 11.16 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5824, allocations: 8 kB / 1.566 GB, free: 11.15 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.5824, allocations: 12 kB / 1.566 GB, free: 11.14 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.5829, allocations: 151.8 kB / 1.566 GB, free: 10.99 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.5829, allocations: 20.52 kB / 1.566 GB, free: 10.97 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.5836, allocations: 95.38 kB / 1.566 GB, free: 10.88 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.5836, allocations: 35.94 kB / 1.566 GB, free: 10.84 MB / 1.264 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.0004072/0.584, allocations: 333.4 kB / 1.567 GB, free: 10.51 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.5842, allocations: 87.44 kB / 1.567 GB, free: 10.42 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009576/0.5851, allocations: 0.618 MB / 1.567 GB, free: 9.801 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5851, allocations: 8 kB / 1.567 GB, free: 9.793 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5851, allocations: 0 / 1.567 GB, free: 9.793 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007192/0.5859, allocations: 0.5172 MB / 1.568 GB, free: 9.262 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.5883, allocations: 1.65 MB / 1.569 GB, free: 7.539 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.5883, allocations: 7.938 kB / 1.569 GB, free: 7.531 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.5888, allocations: 107.9 kB / 1.569 GB, free: 7.426 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.5888, allocations: 4 kB / 1.569 GB, free: 7.422 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.5888, allocations: 23.94 kB / 1.57 GB, free: 7.398 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.5888, allocations: 4 kB / 1.57 GB, free: 7.395 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5888, allocations: 0 / 1.57 GB, free: 7.395 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.5902, allocations: 1.016 MB / 1.571 GB, free: 6.34 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.5905, allocations: 159.2 kB / 1.571 GB, free: 6.184 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.5906, allocations: 19.94 kB / 1.571 GB, free: 6.164 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.591, allocations: 19.94 kB / 1.571 GB, free: 6.145 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.5911, allocations: 35.72 kB / 1.571 GB, free: 6.109 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.5912, allocations: 19.98 kB / 1.571 GB, free: 6.09 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006295/0.5918, allocations: 0.5107 MB / 1.571 GB, free: 5.582 MB / 1.264 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5918, allocations: 0 / 1.571 GB, free: 5.582 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008508/0.5926, allocations: 299.5 kB / 1.572 GB, free: 5.289 MB / 1.264 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.0004288/0.5931, allocations: 200.8 kB / 1.572 GB, free: 5.09 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009309/0.594, allocations: 0.5847 MB / 1.572 GB, free: 4.508 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.594, allocations: 4 kB / 1.572 GB, free: 4.504 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.5944, allocations: 256.7 kB / 1.573 GB, free: 4.254 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.5962, allocations: 437.7 kB / 1.573 GB, free: 3.84 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.5993, allocations: 2.038 MB / 1.575 GB, free: 1.742 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000778/0.6, allocations: 1.126 MB / 1.576 GB, free: 0.5898 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.6002, allocations: 79.42 kB / 1.576 GB, free: 0.5117 MB / 1.264 GB Notification: Performance of SimCode: time 3.8e-07/0.6002, allocations: 0 / 1.576 GB, free: 0.5117 MB / 1.264 GB Notification: Performance of Templates: time 0.02035/0.6206, allocations: 14.72 MB / 1.591 GB, free: 1.906 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.796669589995872]