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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001479/0.001479, allocations: 195 kB / 16.14 MB, free: 6.711 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7702, allocations: 140.4 MB / 0.9489 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2372/1.007, allocations: 192.9 MB / 1.137 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0189/1.026, allocations: 14.42 MB / 1.151 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/1.028, allocations: 31.81 kB / 1.151 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/1.03, allocations: 413.7 kB / 1.152 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005542/1.036, allocations: 1.774 MB / 1.153 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/1.038, allocations: 0.7754 MB / 1.154 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005179/1.044, allocations: 3.614 MB / 1.158 GB, free: 11.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/1.045, allocations: 0.948 MB / 1.159 GB, free: 10.46 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006078/1.051, allocations: 1.437 MB / 1.16 GB, free: 9.035 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/1.054, allocations: 0.9735 MB / 1.161 GB, free: 8.062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/1.054, allocations: 64 kB / 1.161 GB, free: 8 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/1.058, allocations: 1.251 MB / 1.162 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008568/1.059, allocations: 466.7 kB / 1.163 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001605/1.06, allocations: 0.587 MB / 1.163 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004038/1.064, allocations: 1.916 MB / 1.165 GB, free: 3.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.064, allocations: 8 kB / 1.165 GB, free: 3.773 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.223e-06/1.064, allocations: 0 / 1.165 GB, free: 3.773 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.283e-05/1.065, allocations: 0 / 1.165 GB, free: 3.773 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.003705/1.068, allocations: 1.453 MB / 1.167 GB, free: 2.266 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.068, allocations: 12.03 kB / 1.167 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.07, allocations: 250.3 kB / 1.167 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.072, allocations: 0.7531 MB / 1.168 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/1.072, allocations: 70 kB / 1.168 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/1.072, allocations: 92 kB / 1.168 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/1.074, allocations: 1.17 MB / 1.169 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.074, allocations: 7.938 kB / 1.169 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/1.074, allocations: 43.84 kB / 1.169 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/1.074, allocations: 34 kB / 1.169 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.075, allocations: 0.9092 MB / 1.17 GB, free: 14.82 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.006354/1.082, allocations: 5.719 MB / 1.175 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008895/1.083, allocations: 0.5394 MB / 1.176 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/1.083, allocations: 318.6 kB / 1.176 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006328/1.084, allocations: 307.7 kB / 1.177 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.084, allocations: 42.98 kB / 1.177 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=49): time 3.566e-06/1.084, allocations: 0 / 1.177 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.001632/1.085, allocations: 0.7987 MB / 1.177 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.085, allocations: 59.84 kB / 1.178 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/1.087, allocations: 0.7509 MB / 1.178 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/1.087, allocations: 37.7 kB / 1.178 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/1.087, allocations: 0.5105 MB / 1.179 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/1.087, allocations: 181.4 kB / 1.179 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/1.087, allocations: 130.6 kB / 1.179 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.088, allocations: 341.9 kB / 1.179 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/1.088, allocations: 249.9 kB / 1.18 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/1.089, allocations: 0.5508 MB / 1.18 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/1.09, allocations: 0.7995 MB / 1.181 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.09, allocations: 0 / 1.181 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001469/1.091, allocations: 0.8505 MB / 1.182 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.091, allocations: 12.19 kB / 1.182 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.091, allocations: 8 kB / 1.182 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.091, allocations: 12 kB / 1.182 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/1.092, allocations: 151.8 kB / 1.182 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/1.092, allocations: 19.92 kB / 1.182 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.093, allocations: 151 kB / 1.182 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/1.093, allocations: 39.94 kB / 1.182 GB, free: 1.438 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.0005752/1.094, allocations: 330 kB / 1.182 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/1.094, allocations: 82.97 kB / 1.183 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/1.095, allocations: 0.618 MB / 1.183 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.095, allocations: 8 kB / 1.183 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.095, allocations: 3.938 kB / 1.183 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007218/1.096, allocations: 0.5173 MB / 1.184 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/1.099, allocations: 1.674 MB / 1.185 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/1.099, allocations: 3.938 kB / 1.185 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/1.099, allocations: 115.8 kB / 1.185 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.099, allocations: 4 kB / 1.185 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/1.099, allocations: 8 kB / 1.185 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/1.099, allocations: 4 kB / 1.185 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.099, allocations: 7.938 kB / 1.185 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/1.101, allocations: 1.019 MB / 1.186 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004731/1.101, allocations: 231.8 kB / 1.187 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/1.101, allocations: 16 kB / 1.187 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/1.102, allocations: 59.94 kB / 1.187 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/1.102, allocations: 36.03 kB / 1.187 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/1.102, allocations: 16 kB / 1.187 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007496/1.103, allocations: 0.5146 MB / 1.187 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.103, allocations: 4 kB / 1.187 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001196/1.104, allocations: 299.3 kB / 1.188 GB, free: 11.73 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.0007187/1.105, allocations: 215.2 kB / 1.188 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001223/1.106, allocations: 0.6041 MB / 1.188 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.106, allocations: 0 / 1.188 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/1.107, allocations: 271.7 kB / 1.189 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/1.109, allocations: 437.8 kB / 1.189 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/1.113, allocations: 2.316 MB / 1.191 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.114, allocations: 1.118 MB / 1.192 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001118/1.115, allocations: 267.1 kB / 1.193 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.116, allocations: 75.42 kB / 1.193 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/1.116, allocations: 4 kB / 1.193 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of Templates: time 0.02825/1.144, allocations: 14.94 MB / 1.207 GB, free: 7.668 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/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