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.001218/0.001218, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001243/0.001243, allocations: 194.7 kB / 16.14 MB, free: 6.57 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.59 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3952, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9165/1.312, allocations: 192.9 MB / 1.256 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01938/1.331, allocations: 14.4 MB / 1.27 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/1.333, allocations: 36 kB / 1.27 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/1.335, allocations: 423.4 kB / 1.27 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005526/1.34, allocations: 1.778 MB / 1.272 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/1.343, allocations: 0.7662 MB / 1.273 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004886/1.348, allocations: 3.621 MB / 1.276 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/1.35, allocations: 0.9493 MB / 1.277 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005504/1.355, allocations: 1.452 MB / 1.279 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/1.358, allocations: 0.9582 MB / 1.28 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002292/1.358, allocations: 61.25 kB / 1.28 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/1.362, allocations: 1.258 MB / 1.281 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009015/1.363, allocations: 467.4 kB / 1.281 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001423/1.364, allocations: 0.589 MB / 1.282 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003885/1.368, allocations: 1.919 MB / 1.284 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.368, allocations: 0.5156 kB / 1.284 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/1.368, allocations: 1.25 kB / 1.284 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.684e-05/1.368, allocations: 0 / 1.284 GB, free: 4.996 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.00304/1.371, allocations: 1.454 MB / 1.285 GB, free: 20.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.371, allocations: 8.281 kB / 1.285 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/1.373, allocations: 256.1 kB / 1.286 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/1.374, allocations: 0.7556 MB / 1.286 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/1.374, allocations: 72.38 kB / 1.286 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/1.375, allocations: 90 kB / 1.286 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/1.377, allocations: 1.176 MB / 1.288 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.377, allocations: 1.438 kB / 1.288 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/1.377, allocations: 38.94 kB / 1.288 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/1.377, allocations: 34.67 kB / 1.288 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/1.379, allocations: 0.9004 MB / 1.289 GB, free: 19.59 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.009067/1.388, allocations: 5.736 MB / 1.294 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/1.389, allocations: 0.5329 MB / 1.295 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/1.389, allocations: 320.4 kB / 1.295 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007621/1.39, allocations: 313.6 kB / 1.295 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/1.39, allocations: 38.06 kB / 1.295 GB, free: 15.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 3.937e-06/1.39, allocations: 0 / 1.295 GB, free: 15.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.002141/1.392, allocations: 0.805 MB / 1.296 GB, free: 15.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/1.393, allocations: 56.81 kB / 1.296 GB, free: 15.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.394, allocations: 0.754 MB / 1.297 GB, free: 15.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.376e-05/1.394, allocations: 37.3 kB / 1.297 GB, free: 15.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/1.395, allocations: 0.5093 MB / 1.297 GB, free: 14.87 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/1.395, allocations: 174.2 kB / 1.298 GB, free: 14.76 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/1.395, allocations: 141.8 kB / 1.298 GB, free: 14.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.395, allocations: 338.9 kB / 1.298 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/1.396, allocations: 258.2 kB / 1.298 GB, free: 14.42 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/1.396, allocations: 0.547 MB / 1.299 GB, free: 14.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/1.397, allocations: 0.7947 MB / 1.3 GB, free: 13.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.397, allocations: 2.406 kB / 1.3 GB, free: 13.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001799/1.399, allocations: 0.8558 MB / 1.3 GB, free: 13.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/1.399, allocations: 8.125 kB / 1.3 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.399, allocations: 12.08 kB / 1.3 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.077e-05/1.399, allocations: 11.28 kB / 1.3 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/1.4, allocations: 152.8 kB / 1.301 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/1.4, allocations: 21.3 kB / 1.301 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.401, allocations: 153.4 kB / 1.301 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/1.401, allocations: 34.5 kB / 1.301 GB, free: 13.6 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.0005937/1.402, allocations: 332.1 kB / 1.301 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/1.402, allocations: 89.56 kB / 1.301 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/1.403, allocations: 0.6161 MB / 1.302 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.403, allocations: 5.375 kB / 1.302 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.403, allocations: 3.938 kB / 1.302 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009248/1.404, allocations: 0.5159 MB / 1.302 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/1.407, allocations: 1.673 MB / 1.304 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.407, allocations: 2.125 kB / 1.304 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/1.408, allocations: 107 kB / 1.304 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/1.408, allocations: 4.25 kB / 1.304 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/1.408, allocations: 20.09 kB / 1.304 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/1.408, allocations: 3.688 kB / 1.304 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.408, allocations: 2.094 kB / 1.304 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.409, allocations: 1.014 MB / 1.305 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/1.41, allocations: 223.5 kB / 1.305 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.41, allocations: 14.78 kB / 1.305 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/1.411, allocations: 67.23 kB / 1.305 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.411, allocations: 37.33 kB / 1.305 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/1.411, allocations: 23.59 kB / 1.305 GB, free: 12.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007914/1.412, allocations: 0.5094 MB / 1.306 GB, free: 12.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.412, allocations: 0 / 1.306 GB, free: 12.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001081/1.413, allocations: 293.5 kB / 1.306 GB, free: 12.38 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.0005721/1.413, allocations: 219.6 kB / 1.306 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00101/1.414, allocations: 0.6062 MB / 1.307 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.414, allocations: 1.812 kB / 1.307 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/1.415, allocations: 275.5 kB / 1.307 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.417, allocations: 431.5 kB / 1.308 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/1.42, allocations: 2.313 MB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/1.421, allocations: 1.124 MB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000891/1.422, allocations: 275 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/1.422, allocations: 69.45 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.422, allocations: 0 / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of Templates: time 0.02757/1.45, allocations: 14.94 MB / 1.326 GB, free: 8.984 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