Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001292/0.001292, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001555/0.001555, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.504/1.504, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.41 kB / 0.9116 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3725, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9327/1.305, allocations: 192.6 MB / 1.256 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0177/1.323, allocations: 14.21 MB / 1.27 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/1.325, allocations: 33.16 kB / 1.27 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/1.327, allocations: 440.9 kB / 1.27 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005455/1.332, allocations: 1.77 MB / 1.272 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/1.335, allocations: 0.7831 MB / 1.273 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003441/1.338, allocations: 2.572 MB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/1.34, allocations: 1.079 MB / 1.276 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005279/1.345, allocations: 1.586 MB / 1.278 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/1.348, allocations: 0.9908 MB / 1.279 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/1.348, allocations: 107.3 kB / 1.279 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/1.351, allocations: 1.146 MB / 1.28 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008417/1.352, allocations: 0.501 MB / 1.28 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/1.353, allocations: 0.6314 MB / 1.281 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/1.357, allocations: 1.966 MB / 1.283 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.357, allocations: 0 / 1.283 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.705e-06/1.357, allocations: 2.062 kB / 1.283 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.854e-05/1.357, allocations: 1.312 kB / 1.283 GB, free: 5.23 MB / 0.9981 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.00313/1.36, allocations: 1.448 MB / 1.284 GB, free: 20.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.36, allocations: 10.19 kB / 1.284 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/1.362, allocations: 250.5 kB / 1.285 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.363, allocations: 0.7556 MB / 1.285 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/1.364, allocations: 70.16 kB / 1.285 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.364, allocations: 93.25 kB / 1.286 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/1.366, allocations: 1.177 MB / 1.287 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/1.366, allocations: 3.969 kB / 1.287 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-05/1.366, allocations: 39.69 kB / 1.287 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/1.366, allocations: 34.67 kB / 1.287 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/1.367, allocations: 0.9044 MB / 1.288 GB, free: 19.84 MB / 1.014 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.005804/1.373, allocations: 5.728 MB / 1.293 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/1.374, allocations: 0.5308 MB / 1.294 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/1.374, allocations: 333.6 kB / 1.294 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/1.375, allocations: 312.1 kB / 1.294 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.375, allocations: 37.19 kB / 1.294 GB, free: 15.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.885e-06/1.375, allocations: 0.8125 kB / 1.294 GB, free: 15.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001656/1.377, allocations: 0.7994 MB / 1.295 GB, free: 15.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.377, allocations: 56.62 kB / 1.295 GB, free: 15.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/1.378, allocations: 0.7582 MB / 1.296 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/1.378, allocations: 41.81 kB / 1.296 GB, free: 15.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/1.378, allocations: 0.5077 MB / 1.296 GB, free: 15.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/1.378, allocations: 175.8 kB / 1.297 GB, free: 15.03 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/1.379, allocations: 143 kB / 1.297 GB, free: 15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.379, allocations: 335.4 kB / 1.297 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/1.379, allocations: 249.5 kB / 1.297 GB, free: 14.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/1.38, allocations: 0.5538 MB / 1.298 GB, free: 14.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/1.381, allocations: 0.8 MB / 1.299 GB, free: 14.06 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.381, allocations: 3.5 kB / 1.299 GB, free: 14.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001345/1.382, allocations: 0.8433 MB / 1.3 GB, free: 13.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.382, allocations: 9.875 kB / 1.3 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.382, allocations: 8.031 kB / 1.3 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/1.382, allocations: 14.31 kB / 1.3 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/1.383, allocations: 154.9 kB / 1.3 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/1.383, allocations: 22.03 kB / 1.3 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.384, allocations: 150.5 kB / 1.3 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/1.384, allocations: 37.39 kB / 1.3 GB, free: 13.92 MB / 1.014 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.0004672/1.385, allocations: 328.6 kB / 1.3 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.385, allocations: 85.56 kB / 1.3 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009941/1.386, allocations: 0.6202 MB / 1.301 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.386, allocations: 4.375 kB / 1.301 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.386, allocations: 6.156 kB / 1.301 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007206/1.386, allocations: 0.5178 MB / 1.301 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/1.389, allocations: 1.665 MB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.389, allocations: 4.422 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/1.389, allocations: 111.4 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/1.389, allocations: 5.609 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/1.389, allocations: 13.94 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.39, allocations: 6.406 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.39, allocations: 3.188 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/1.391, allocations: 1.017 MB / 1.304 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/1.391, allocations: 223.2 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.391, allocations: 13.66 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/1.392, allocations: 67.86 kB / 1.304 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/1.392, allocations: 37.53 kB / 1.304 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/1.392, allocations: 23.45 kB / 1.305 GB, free: 12.85 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006102/1.393, allocations: 0.5134 MB / 1.305 GB, free: 12.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.393, allocations: 1.203 kB / 1.305 GB, free: 12.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001047/1.394, allocations: 295.1 kB / 1.305 GB, free: 12.72 MB / 1.014 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.0004838/1.394, allocations: 211 kB / 1.305 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001208/1.395, allocations: 0.7146 MB / 1.306 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.395, allocations: 2.562 kB / 1.306 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/1.396, allocations: 273.5 kB / 1.306 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.398, allocations: 439.9 kB / 1.307 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/1.401, allocations: 2.319 MB / 1.309 GB, free: 11.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/1.401, allocations: 1.123 MB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000874/1.402, allocations: 266.2 kB / 1.31 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/1.402, allocations: 69.14 kB / 1.311 GB, free: 10.57 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/1.402, allocations: 0 / 1.311 GB, free: 10.57 MB / 1.014 GB Notification: Performance of Templates: time 0.02449/1.427, allocations: 15.36 MB / 1.326 GB, free: 9.605 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches