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.00176/0.00176, allocations: 104.7 kB / 15.98 MB, free: 6.355 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.002105/0.002105, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.182/2.182, allocations: 390.2 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.98 kB / 0.8127 GB, free: 33.33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2897, allocations: 140.4 MB / 0.9498 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8141/1.104, allocations: 192.6 MB / 1.138 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0171/1.121, allocations: 14.21 MB / 1.152 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/1.123, allocations: 36.62 kB / 1.152 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/1.125, allocations: 437.5 kB / 1.152 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005005/1.13, allocations: 1.774 MB / 1.154 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/1.132, allocations: 0.7823 MB / 1.155 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003644/1.136, allocations: 2.574 MB / 1.157 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.137, allocations: 1.071 MB / 1.158 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005143/1.143, allocations: 1.595 MB / 1.16 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/1.145, allocations: 0.9801 MB / 1.161 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/1.145, allocations: 106.7 kB / 1.161 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/1.148, allocations: 1.145 MB / 1.162 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005548/1.148, allocations: 0.4994 MB / 1.162 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009393/1.149, allocations: 0.6341 MB / 1.163 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/1.151, allocations: 1.444 MB / 1.164 GB, free: 344 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.151, allocations: 0 / 1.164 GB, free: 344 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/1.151, allocations: 0 / 1.164 GB, free: 344 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.692e-05/1.151, allocations: 0 / 1.164 GB, free: 344 kB / 0.8575 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.002673/1.154, allocations: 1.444 MB / 1.166 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.154, allocations: 12.3 kB / 1.166 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.156, allocations: 255.2 kB / 1.166 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.157, allocations: 0.7558 MB / 1.167 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/1.157, allocations: 68.72 kB / 1.167 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/1.157, allocations: 95.22 kB / 1.167 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/1.159, allocations: 1.175 MB / 1.168 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/1.159, allocations: 2.75 kB / 1.168 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/1.159, allocations: 40.94 kB / 1.168 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/1.159, allocations: 37.53 kB / 1.168 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/1.161, allocations: 0.9029 MB / 1.169 GB, free: 13.86 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.005976/1.167, allocations: 5.729 MB / 1.175 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/1.168, allocations: 0.5347 MB / 1.175 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/1.168, allocations: 315.8 kB / 1.176 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000616/1.169, allocations: 312.8 kB / 1.176 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.169, allocations: 41.22 kB / 1.176 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=49): time 2.845e-06/1.169, allocations: 0 / 1.176 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.001602/1.17, allocations: 0.8032 MB / 1.177 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.17, allocations: 61.34 kB / 1.177 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/1.171, allocations: 0.7482 MB / 1.177 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/1.171, allocations: 34.52 kB / 1.178 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/1.172, allocations: 0.5089 MB / 1.178 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/1.172, allocations: 183.7 kB / 1.178 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.172, allocations: 139.8 kB / 1.178 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.172, allocations: 337.8 kB / 1.179 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/1.173, allocations: 243.2 kB / 1.179 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/1.173, allocations: 0.5659 MB / 1.179 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/1.174, allocations: 0.7949 MB / 1.18 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/1.174, allocations: 2.688 kB / 1.18 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001234/1.175, allocations: 0.8472 MB / 1.181 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.175, allocations: 6.844 kB / 1.181 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.175, allocations: 8.938 kB / 1.181 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.176, allocations: 10.78 kB / 1.181 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/1.176, allocations: 157.7 kB / 1.181 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/1.176, allocations: 17.12 kB / 1.181 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.177, allocations: 149.6 kB / 1.181 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/1.177, allocations: 35.22 kB / 1.181 GB, free: 5.402 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.0004628/1.178, allocations: 330.5 kB / 1.182 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/1.178, allocations: 87.38 kB / 1.182 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009949/1.179, allocations: 0.6233 MB / 1.182 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/1.179, allocations: 5.938 kB / 1.182 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.179, allocations: 0 / 1.182 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006954/1.18, allocations: 0.5132 MB / 1.183 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/1.182, allocations: 1.672 MB / 1.185 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.182, allocations: 3.156 kB / 1.185 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/1.183, allocations: 111 kB / 1.185 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/1.183, allocations: 2.609 kB / 1.185 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/1.183, allocations: 25.16 kB / 1.185 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.183, allocations: 3.406 kB / 1.185 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.183, allocations: 3.828 kB / 1.185 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/1.184, allocations: 1.015 MB / 1.186 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/1.185, allocations: 229.8 kB / 1.186 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/1.185, allocations: 14.89 kB / 1.186 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006869/1.186, allocations: 65.81 kB / 1.186 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/1.186, allocations: 37.64 kB / 1.186 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/1.186, allocations: 19.36 kB / 1.186 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006762/1.186, allocations: 0.5111 MB / 1.187 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.186, allocations: 4 kB / 1.187 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001026/1.187, allocations: 298.1 kB / 1.187 GB, free: 2.762 MB / 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.0005554/1.188, allocations: 208.8 kB / 1.187 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001225/1.189, allocations: 0.7175 MB / 1.188 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.189, allocations: 2.406 kB / 1.188 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003763/1.19, allocations: 276.6 kB / 1.188 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/1.192, allocations: 443.3 kB / 1.188 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/1.195, allocations: 2.398 MB / 1.191 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.197, allocations: 1.116 MB / 1.192 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/1.197, allocations: 79.8 kB / 1.192 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of SimCode: time 1.142e-06/1.197, allocations: 0 / 1.192 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of Templates: time 0.02442/1.221, allocations: 14.57 MB / 1.206 GB, free: 8.117 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 -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