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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009003/0.0009003, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006325/0.006325, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 462.6 MB / 0.7363 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.0005116, allocations: 8.75 kB / 0.9027 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3608, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.207/0.5678, allocations: 190.3 MB / 1.244 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7599/1.328, allocations: 14.21 MB / 1.258 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/1.329, allocations: 33 kB / 1.258 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/1.331, allocations: 419.5 kB / 1.259 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005679/1.336, allocations: 1.774 MB / 1.261 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/1.339, allocations: 0.7717 MB / 1.261 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00485/1.344, allocations: 3.625 MB / 1.265 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/1.346, allocations: 0.9075 MB / 1.266 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006062/1.353, allocations: 1.41 MB / 1.267 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/1.355, allocations: 0.9155 MB / 1.268 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/1.355, allocations: 47.34 kB / 1.268 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/1.359, allocations: 1.245 MB / 1.269 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008614/1.359, allocations: 443 kB / 1.27 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001363/1.361, allocations: 0.5808 MB / 1.27 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004524/1.365, allocations: 1.89 MB / 1.272 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.365, allocations: 0 / 1.272 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/1.365, allocations: 1.344 kB / 1.272 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.314e-05/1.365, allocations: 0 / 1.272 GB, free: 2.336 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.003576/1.369, allocations: 1.233 MB / 1.273 GB, free: 17.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.369, allocations: 13.22 kB / 1.273 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/1.371, allocations: 251.2 kB / 1.274 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/1.372, allocations: 0.7519 MB / 1.274 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.863e-05/1.373, allocations: 71.78 kB / 1.274 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/1.373, allocations: 97.52 kB / 1.274 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/1.375, allocations: 1.169 MB / 1.276 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/1.375, allocations: 2.422 kB / 1.276 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.375, allocations: 41.34 kB / 1.276 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-05/1.375, allocations: 33.36 kB / 1.276 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/1.378, allocations: 0.905 MB / 1.277 GB, free: 16.96 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.008658/1.386, allocations: 5.735 MB / 1.282 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.387, allocations: 0.5372 MB / 1.283 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/1.388, allocations: 323.9 kB / 1.283 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006594/1.389, allocations: 325.4 kB / 1.283 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/1.389, allocations: 46.17 kB / 1.283 GB, free: 12.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 3.937e-06/1.389, allocations: 1.188 kB / 1.283 GB, free: 12.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001824/1.39, allocations: 0.7966 MB / 1.284 GB, free: 12.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/1.39, allocations: 58.31 kB / 1.284 GB, free: 12.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/1.392, allocations: 0.7525 MB / 1.285 GB, free: 12.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.084e-05/1.392, allocations: 36.33 kB / 1.285 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/1.392, allocations: 0.5066 MB / 1.285 GB, free: 12.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/1.392, allocations: 189.5 kB / 1.286 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.361e-05/1.392, allocations: 60.45 kB / 1.286 GB, free: 12.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.393, allocations: 334.3 kB / 1.286 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/1.393, allocations: 245.9 kB / 1.286 GB, free: 11.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/1.394, allocations: 0.552 MB / 1.287 GB, free: 11.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/1.395, allocations: 0.7999 MB / 1.288 GB, free: 11.13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/1.395, allocations: 2.062 kB / 1.288 GB, free: 11.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001384/1.396, allocations: 0.8496 MB / 1.288 GB, free: 11.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.396, allocations: 11.36 kB / 1.288 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.396, allocations: 9.281 kB / 1.288 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/1.396, allocations: 11.25 kB / 1.288 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/1.397, allocations: 156.5 kB / 1.289 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/1.397, allocations: 15.06 kB / 1.289 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.398, allocations: 140.2 kB / 1.289 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.398, allocations: 42.73 kB / 1.289 GB, free: 10.98 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.0006431/1.399, allocations: 328.4 kB / 1.289 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.399, allocations: 92.81 kB / 1.289 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/1.4, allocations: 0.6123 MB / 1.29 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.4, allocations: 5.375 kB / 1.29 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.4, allocations: 2.578 kB / 1.29 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007871/1.401, allocations: 0.5195 MB / 1.29 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/1.404, allocations: 1.672 MB / 1.292 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.404, allocations: 1.844 kB / 1.292 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/1.405, allocations: 114.6 kB / 1.292 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/1.405, allocations: 3.594 kB / 1.292 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/1.405, allocations: 14.25 kB / 1.292 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/1.405, allocations: 9.672 kB / 1.292 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.405, allocations: 2.781 kB / 1.292 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/1.407, allocations: 1.015 MB / 1.293 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/1.407, allocations: 222.3 kB / 1.293 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.407, allocations: 12.34 kB / 1.293 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/1.408, allocations: 73.28 kB / 1.293 GB, free: 9.887 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/1.408, allocations: 40.47 kB / 1.293 GB, free: 9.879 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/1.408, allocations: 19.97 kB / 1.293 GB, free: 9.879 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008736/1.409, allocations: 0.5136 MB / 1.294 GB, free: 9.785 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.409, allocations: 0 / 1.294 GB, free: 9.785 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001319/1.41, allocations: 302.1 kB / 1.294 GB, free: 9.746 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.000643/1.411, allocations: 216 kB / 1.294 GB, free: 9.633 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001096/1.412, allocations: 0.6012 MB / 1.295 GB, free: 9.625 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.412, allocations: 0.5625 kB / 1.295 GB, free: 9.625 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003882/1.413, allocations: 278.1 kB / 1.295 GB, free: 9.621 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/1.415, allocations: 437.6 kB / 1.296 GB, free: 9.582 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/1.419, allocations: 2.402 MB / 1.298 GB, free: 8.324 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009922/1.42, allocations: 1.129 MB / 1.299 GB, free: 7.609 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001086/1.421, allocations: 267.6 kB / 1.299 GB, free: 7.562 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/1.422, allocations: 72.75 kB / 1.299 GB, free: 7.555 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.422, allocations: 4 kB / 1.299 GB, free: 7.551 MB / 1.014 GB Notification: Performance of Templates: time 0.02871/1.45, allocations: 14.86 MB / 1.314 GB, free: 6.641 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