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.00156/0.00156, allocations: 98.8 kB / 16.35 MB, free: 5.828 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.001793/0.001793, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.199/2.199, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.28 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3053, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7792/1.085, allocations: 195.1 MB / 1.142 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0154/1.1, allocations: 14.32 MB / 1.156 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/1.102, allocations: 40.03 kB / 1.156 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/1.103, allocations: 0.4998 MB / 1.156 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005018/1.108, allocations: 1.885 MB / 1.158 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/1.111, allocations: 0.8665 MB / 1.159 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003405/1.115, allocations: 2.58 MB / 1.161 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/1.116, allocations: 1.105 MB / 1.162 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/1.12, allocations: 1.61 MB / 1.164 GB, free: 284 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/1.122, allocations: 0.9191 MB / 1.165 GB, free: 0 / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/1.122, allocations: 106.8 kB / 1.165 GB, free: 0 / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/1.125, allocations: 1.103 MB / 1.166 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005976/1.125, allocations: 0.4929 MB / 1.167 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009518/1.126, allocations: 0.6378 MB / 1.167 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003245/1.129, allocations: 1.91 MB / 1.169 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.129, allocations: 4 kB / 1.169 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.004e-06/1.129, allocations: 0 / 1.169 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.872e-05/1.13, allocations: 0 / 1.169 GB, free: 14.55 MB / 0.8731 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.002638/1.132, allocations: 1.447 MB / 1.17 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.132, allocations: 9.969 kB / 1.17 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/1.134, allocations: 256.2 kB / 1.171 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/1.135, allocations: 0.7955 MB / 1.171 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/1.135, allocations: 68.03 kB / 1.172 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/1.136, allocations: 91.47 kB / 1.172 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/1.138, allocations: 1.174 MB / 1.173 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/1.138, allocations: 2.156 kB / 1.173 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/1.138, allocations: 36.91 kB / 1.173 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/1.138, allocations: 42.28 kB / 1.173 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/1.139, allocations: 0.9075 MB / 1.174 GB, free: 12.07 MB / 0.8731 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.006481/1.146, allocations: 5.736 MB / 1.179 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/1.146, allocations: 0.5318 MB / 1.18 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/1.147, allocations: 317.4 kB / 1.18 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005912/1.148, allocations: 315.8 kB / 1.18 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/1.148, allocations: 43.23 kB / 1.181 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=49): time 4.769e-06/1.148, allocations: 3.984 kB / 1.181 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.001548/1.149, allocations: 0.7961 MB / 1.181 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.149, allocations: 56.78 kB / 1.181 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/1.15, allocations: 0.7555 MB / 1.182 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.561e-05/1.15, allocations: 37.14 kB / 1.182 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/1.15, allocations: 0.5067 MB / 1.183 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/1.151, allocations: 182.7 kB / 1.183 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/1.151, allocations: 139 kB / 1.183 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.151, allocations: 340 kB / 1.183 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/1.151, allocations: 248.4 kB / 1.183 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/1.152, allocations: 0.5564 MB / 1.184 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/1.153, allocations: 0.7967 MB / 1.185 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.153, allocations: 2.781 kB / 1.185 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001217/1.154, allocations: 0.8407 MB / 1.186 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.154, allocations: 12.44 kB / 1.186 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.154, allocations: 8.312 kB / 1.186 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/1.154, allocations: 17.17 kB / 1.186 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/1.155, allocations: 155.1 kB / 1.186 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/1.155, allocations: 22.31 kB / 1.186 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/1.156, allocations: 82.36 kB / 1.186 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/1.156, allocations: 40.7 kB / 1.186 GB, free: 3.371 MB / 0.8731 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.0004681/1.156, allocations: 337.6 kB / 1.186 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/1.156, allocations: 91.7 kB / 1.186 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009732/1.157, allocations: 0.616 MB / 1.187 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.157, allocations: 5 kB / 1.187 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.157, allocations: 0 / 1.187 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007002/1.158, allocations: 0.5142 MB / 1.187 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/1.16, allocations: 1.677 MB / 1.189 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/1.16, allocations: 2.656 kB / 1.189 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/1.161, allocations: 112.9 kB / 1.189 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.161, allocations: 7.25 kB / 1.189 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/1.161, allocations: 15.91 kB / 1.189 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.161, allocations: 2.219 kB / 1.189 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.161, allocations: 7.531 kB / 1.189 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/1.162, allocations: 1.006 MB / 1.19 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/1.163, allocations: 230.5 kB / 1.19 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.163, allocations: 8.906 kB / 1.19 GB, free: 456 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/1.163, allocations: 21.92 kB / 1.19 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/1.163, allocations: 37.69 kB / 1.191 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/1.164, allocations: 21.55 kB / 1.191 GB, free: 412 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005828/1.164, allocations: 0.5096 MB / 1.191 GB, free: 116 kB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/1.164, allocations: 0 / 1.191 GB, free: 116 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008622/1.165, allocations: 300.1 kB / 1.191 GB, free: 52 kB / 0.8731 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.0004552/1.165, allocations: 210.6 kB / 1.192 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008525/1.166, allocations: 0.6149 MB / 1.192 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.166, allocations: 3.406 kB / 1.192 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/1.167, allocations: 271.1 kB / 1.192 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.168, allocations: 442.7 kB / 1.193 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/1.171, allocations: 1.925 MB / 1.195 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/1.172, allocations: 1.114 MB / 1.196 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007093/1.173, allocations: 265.8 kB / 1.196 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/1.173, allocations: 73.48 kB / 1.196 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of SimCode: time 3.91e-07/1.173, allocations: 4 kB / 1.196 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of Templates: time 0.02393/1.197, allocations: 15.38 MB / 1.211 GB, free: 5.582 MB / 0.8887 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 -s gbode -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