Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00907/0.00907, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002036/0.002036, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.587/1.587, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.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.363/2.363, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6836/0.6851, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2221/0.9073, allocations: 192.9 MB / 1.138 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01962/0.927, allocations: 14.41 MB / 1.152 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.9286, allocations: 31.81 kB / 1.152 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.9306, allocations: 413.7 kB / 1.152 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005244/0.9359, allocations: 1.774 MB / 1.154 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.9385, allocations: 0.7764 MB / 1.155 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004249/0.9428, allocations: 3.612 MB / 1.158 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.9445, allocations: 0.9519 MB / 1.159 GB, free: 10.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00512/0.9496, allocations: 1.438 MB / 1.161 GB, free: 9.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.9518, allocations: 0.9706 MB / 1.162 GB, free: 8.098 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000348/0.9522, allocations: 60 kB / 1.162 GB, free: 8.039 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.9552, allocations: 1.247 MB / 1.163 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008483/0.9561, allocations: 466.7 kB / 1.163 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.9575, allocations: 0.587 MB / 1.164 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.9597, allocations: 1.427 MB / 1.165 GB, free: 4.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.9597, allocations: 8 kB / 1.165 GB, free: 4.305 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9597, allocations: 0 / 1.165 GB, free: 4.305 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.586e-05/0.9598, allocations: 0 / 1.165 GB, free: 4.305 MB / 0.92 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.003255/0.963, allocations: 1.445 MB / 1.167 GB, free: 2.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9631, allocations: 8.031 kB / 1.167 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.9647, allocations: 254.3 kB / 1.167 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.9663, allocations: 0.7608 MB / 1.168 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/0.9663, allocations: 66 kB / 1.168 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.9665, allocations: 96 kB / 1.168 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.9685, allocations: 1.174 MB / 1.169 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.9685, allocations: 4 kB / 1.169 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/0.9686, allocations: 39.94 kB / 1.169 GB, free: 304 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.9687, allocations: 37.94 kB / 1.169 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.9702, allocations: 0.8976 MB / 1.17 GB, free: 15.36 MB / 0.9356 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.006248/0.9765, allocations: 5.739 MB / 1.176 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/0.9774, allocations: 0.5245 MB / 1.176 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.9778, allocations: 322.5 kB / 1.177 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/0.9784, allocations: 311.7 kB / 1.177 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.9785, allocations: 42.94 kB / 1.177 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/0.9785, allocations: 0 / 1.177 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.001577/0.9801, allocations: 0.7948 MB / 1.178 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.9801, allocations: 55.84 kB / 1.178 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.9812, allocations: 0.7549 MB / 1.178 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.339e-05/0.9812, allocations: 37.7 kB / 1.178 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.9817, allocations: 0.5143 MB / 1.179 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.982, allocations: 177.5 kB / 1.179 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.9822, allocations: 138.6 kB / 1.179 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002187/0.9824, allocations: 333.9 kB / 1.18 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.9828, allocations: 253.8 kB / 1.18 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.9835, allocations: 0.5586 MB / 1.18 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.9846, allocations: 0.7917 MB / 1.181 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.9846, allocations: 0 / 1.181 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001385/0.986, allocations: 0.8468 MB / 1.182 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.986, allocations: 12.03 kB / 1.182 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.986, allocations: 8 kB / 1.182 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.9861, allocations: 15.94 kB / 1.182 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.9867, allocations: 155.7 kB / 1.182 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/0.9867, allocations: 12 kB / 1.182 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.9877, allocations: 151 kB / 1.182 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/0.9878, allocations: 39.88 kB / 1.182 GB, free: 1.973 MB / 0.9356 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.0005782/0.9884, allocations: 326.1 kB / 1.183 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.9886, allocations: 82.97 kB / 1.183 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.9897, allocations: 0.6257 MB / 1.183 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.9897, allocations: 7.984 kB / 1.183 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.9897, allocations: 0 / 1.183 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007228/0.9905, allocations: 0.5211 MB / 1.184 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/0.9933, allocations: 1.674 MB / 1.185 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.9934, allocations: 7.938 kB / 1.185 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.9939, allocations: 107.9 kB / 1.186 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.9939, allocations: 4 kB / 1.186 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.994, allocations: 15.98 kB / 1.186 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.994, allocations: 7.938 kB / 1.186 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.994, allocations: 4 kB / 1.186 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.9954, allocations: 1.019 MB / 1.187 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.9958, allocations: 231.8 kB / 1.187 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.996, allocations: 12 kB / 1.187 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/0.9967, allocations: 63.89 kB / 1.187 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.9968, allocations: 31.95 kB / 1.187 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.9968, allocations: 15.98 kB / 1.187 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007495/0.9976, allocations: 0.5146 MB / 1.187 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9976, allocations: 4 kB / 1.187 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001032/0.9986, allocations: 295.3 kB / 1.188 GB, free: 12.26 MB / 0.9512 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.0005688/0.9992, allocations: 230.6 kB / 1.188 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001057/1, allocations: 0.6118 MB / 1.189 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1, allocations: 0 / 1.189 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/1.001, allocations: 267.7 kB / 1.189 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.003, allocations: 422.2 kB / 1.189 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/1.007, allocations: 2.401 MB / 1.192 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/1.008, allocations: 1.122 MB / 1.193 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/1.008, allocations: 79.42 kB / 1.193 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of SimCode: time 9.32e-07/1.008, allocations: 0 / 1.193 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of Templates: time 0.02401/1.032, allocations: 14.64 MB / 1.207 GB, free: 8.566 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches