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.001018/0.001018, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001065/0.001065, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.273 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.487/2.487, allocations: 390.9 MB / 0.666 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 12 kB / 0.8153 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8189, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2124/1.031, allocations: 177.6 MB / 1.128 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01659/1.048, allocations: 13.3 MB / 1.141 GB, free: 112 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/1.049, allocations: 27.81 kB / 1.141 GB, free: 84 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/1.051, allocations: 345.7 kB / 1.141 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004726/1.055, allocations: 1.372 MB / 1.143 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/1.058, allocations: 0.6709 MB / 1.143 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00392/1.062, allocations: 3.052 MB / 1.146 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/1.063, allocations: 0.8046 MB / 1.147 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/1.066, allocations: 1.202 MB / 1.148 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/1.067, allocations: 0.8836 MB / 1.149 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/1.067, allocations: 48 kB / 1.149 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/1.069, allocations: 0.5729 MB / 1.15 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005/1.07, allocations: 442.8 kB / 1.15 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004063/1.07, allocations: 257 kB / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/1.072, allocations: 1.36 MB / 1.152 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.072, allocations: 0 / 1.152 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.953e-06/1.072, allocations: 0 / 1.152 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.083e-05/1.072, allocations: 0 / 1.152 GB, free: 5.043 MB / 0.9044 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.00201/1.074, allocations: 1.243 MB / 1.153 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.074, allocations: 8.031 kB / 1.153 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/1.075, allocations: 250.4 kB / 1.153 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/1.077, allocations: 0.8353 MB / 1.154 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/1.077, allocations: 70 kB / 1.154 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.077, allocations: 96 kB / 1.154 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/1.079, allocations: 1.169 MB / 1.155 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.079, allocations: 0 / 1.155 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/1.079, allocations: 36 kB / 1.155 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/1.079, allocations: 34 kB / 1.155 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/1.08, allocations: 0.9054 MB / 1.156 GB, free: 240 kB / 0.9044 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.005659/1.086, allocations: 5.751 MB / 1.162 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008924/1.087, allocations: 0.5634 MB / 1.162 GB, free: 9.445 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/1.088, allocations: 332.9 kB / 1.163 GB, free: 9.117 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/1.088, allocations: 327.7 kB / 1.163 GB, free: 8.742 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.088, allocations: 46.98 kB / 1.163 GB, free: 8.688 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 2.094e-06/1.088, allocations: 0 / 1.163 GB, free: 8.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.001555/1.09, allocations: 0.8221 MB / 1.164 GB, free: 7.863 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.09, allocations: 81.55 kB / 1.164 GB, free: 7.766 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008621/1.091, allocations: 0.7432 MB / 1.165 GB, free: 7.016 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/1.091, allocations: 37.83 kB / 1.165 GB, free: 6.973 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/1.091, allocations: 0.5104 MB / 1.165 GB, free: 6.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/1.091, allocations: 185.4 kB / 1.165 GB, free: 6.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/1.091, allocations: 12 kB / 1.165 GB, free: 6.258 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.091, allocations: 334 kB / 1.166 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/1.092, allocations: 253.8 kB / 1.166 GB, free: 5.676 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/1.093, allocations: 0.5769 MB / 1.166 GB, free: 4.957 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/1.093, allocations: 360.6 kB / 1.167 GB, free: 4.605 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/1.093, allocations: 7.953 kB / 1.167 GB, free: 4.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001237/1.094, allocations: 0.8507 MB / 1.168 GB, free: 3.742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.094, allocations: 12 kB / 1.168 GB, free: 3.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.094, allocations: 8 kB / 1.168 GB, free: 3.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.094, allocations: 16.03 kB / 1.168 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/1.095, allocations: 163.8 kB / 1.168 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/1.095, allocations: 15.94 kB / 1.168 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/1.096, allocations: 155 kB / 1.168 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/1.096, allocations: 32 kB / 1.168 GB, free: 3.348 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004299/1.096, allocations: 341.4 kB / 1.168 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/1.097, allocations: 86.92 kB / 1.168 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/1.098, allocations: 0.6335 MB / 1.169 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/1.098, allocations: 8 kB / 1.169 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.098, allocations: 4 kB / 1.169 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007225/1.098, allocations: 0.5251 MB / 1.17 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/1.101, allocations: 1.777 MB / 1.171 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.101, allocations: 4 kB / 1.171 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/1.101, allocations: 115.8 kB / 1.171 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/1.101, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/1.101, allocations: 12 kB / 1.171 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/1.101, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.101, allocations: 256 / 1.171 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/1.103, allocations: 1.056 MB / 1.172 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/1.103, allocations: 231.9 kB / 1.173 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.103, allocations: 11.98 kB / 1.173 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/1.104, allocations: 55.95 kB / 1.173 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/1.104, allocations: 43.84 kB / 1.173 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/1.104, allocations: 23.98 kB / 1.173 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006195/1.104, allocations: 0.5029 MB / 1.173 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/1.104, allocations: 0 / 1.173 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009067/1.105, allocations: 303.3 kB / 1.174 GB, free: 13.46 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005088/1.106, allocations: 215.7 kB / 1.174 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001019/1.107, allocations: 0.6265 MB / 1.174 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.107, allocations: 0 / 1.174 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/1.107, allocations: 281.2 kB / 1.175 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/1.109, allocations: 443.3 kB / 1.175 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/1.113, allocations: 2.416 MB / 1.177 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/1.114, allocations: 1.126 MB / 1.179 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009697/1.115, allocations: 271.3 kB / 1.179 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/1.115, allocations: 79.41 kB / 1.179 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of SimCode: time 8.51e-07/1.115, allocations: 0 / 1.179 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of Templates: time 0.02651/1.142, allocations: 14.84 MB / 1.193 GB, free: 9.352 MB / 0.9512 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches