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.001067/0.001067, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 462.7 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 12.88 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3424, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1998/0.5423, allocations: 190.3 MB / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7521/1.294, allocations: 14.21 MB / 1.259 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/1.296, allocations: 30.78 kB / 1.259 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/1.297, allocations: 418.2 kB / 1.259 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005039/1.302, allocations: 1.77 MB / 1.261 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/1.305, allocations: 0.7795 MB / 1.262 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004557/1.309, allocations: 3.613 MB / 1.265 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/1.311, allocations: 0.9129 MB / 1.266 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004831/1.316, allocations: 1.405 MB / 1.268 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/1.318, allocations: 0.9203 MB / 1.269 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/1.318, allocations: 45.59 kB / 1.269 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/1.321, allocations: 1.242 MB / 1.27 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007356/1.322, allocations: 441.6 kB / 1.27 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/1.323, allocations: 0.5828 MB / 1.271 GB, free: 18.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/1.326, allocations: 1.402 MB / 1.272 GB, free: 18.37 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.326, allocations: 9.688 kB / 1.272 GB, free: 18.37 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.257e-06/1.326, allocations: 0.75 kB / 1.272 GB, free: 18.37 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.424e-05/1.326, allocations: 0 / 1.272 GB, free: 18.37 MB / 1.014 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.002639/1.328, allocations: 1.229 MB / 1.273 GB, free: 17.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.328, allocations: 12.97 kB / 1.274 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/1.33, allocations: 249 kB / 1.274 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/1.331, allocations: 0.7524 MB / 1.274 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/1.331, allocations: 76.94 kB / 1.275 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/1.332, allocations: 93.53 kB / 1.275 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/1.334, allocations: 1.168 MB / 1.276 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/1.334, allocations: 4.594 kB / 1.276 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.334, allocations: 39.25 kB / 1.276 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-05/1.334, allocations: 40.58 kB / 1.276 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/1.336, allocations: 0.9009 MB / 1.277 GB, free: 16.99 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.006899/1.343, allocations: 5.73 MB / 1.282 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008865/1.344, allocations: 0.5459 MB / 1.283 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/1.344, allocations: 316.4 kB / 1.283 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/1.345, allocations: 322.5 kB / 1.283 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.345, allocations: 41.94 kB / 1.284 GB, free: 12.83 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.444e-06/1.345, allocations: 0 / 1.284 GB, free: 12.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001605/1.347, allocations: 0.8064 MB / 1.284 GB, free: 12.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.347, allocations: 57.09 kB / 1.284 GB, free: 12.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.348, allocations: 0.7523 MB / 1.285 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/1.348, allocations: 37.02 kB / 1.285 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/1.348, allocations: 0.5038 MB / 1.286 GB, free: 12.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/1.348, allocations: 179.2 kB / 1.286 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/1.349, allocations: 59.36 kB / 1.286 GB, free: 12.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.349, allocations: 334.8 kB / 1.286 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/1.349, allocations: 253.8 kB / 1.286 GB, free: 11.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/1.35, allocations: 0.5512 MB / 1.287 GB, free: 11.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/1.35, allocations: 0.8013 MB / 1.288 GB, free: 11.17 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.35, allocations: 3.188 kB / 1.288 GB, free: 11.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001251/1.352, allocations: 0.8493 MB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.352, allocations: 7.188 kB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.352, allocations: 18.33 kB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/1.352, allocations: 12.25 kB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/1.352, allocations: 151.2 kB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/1.352, allocations: 17.97 kB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.353, allocations: 149 kB / 1.289 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/1.354, allocations: 34.92 kB / 1.289 GB, free: 11.02 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.0005148/1.354, allocations: 333.9 kB / 1.289 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.354, allocations: 89.06 kB / 1.289 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/1.355, allocations: 0.6162 MB / 1.29 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.355, allocations: 8.031 kB / 1.29 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.355, allocations: 2.891 kB / 1.29 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007146/1.356, allocations: 0.5154 MB / 1.29 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/1.359, allocations: 1.672 MB / 1.292 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.359, allocations: 1.906 kB / 1.292 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/1.359, allocations: 110.7 kB / 1.292 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.359, allocations: 3.5 kB / 1.292 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/1.359, allocations: 14.14 kB / 1.292 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.359, allocations: 3.562 kB / 1.292 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.359, allocations: 2.312 kB / 1.292 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/1.361, allocations: 1.025 MB / 1.293 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/1.361, allocations: 219.9 kB / 1.293 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.361, allocations: 18.55 kB / 1.293 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/1.362, allocations: 68.28 kB / 1.294 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/1.362, allocations: 36.81 kB / 1.294 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/1.362, allocations: 16.5 kB / 1.294 GB, free: 9.918 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006718/1.363, allocations: 0.5164 MB / 1.294 GB, free: 9.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.363, allocations: 0 / 1.294 GB, free: 9.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001063/1.364, allocations: 298.8 kB / 1.294 GB, free: 9.781 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.0004982/1.364, allocations: 218.1 kB / 1.295 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000966/1.365, allocations: 0.606 MB / 1.295 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.365, allocations: 1.344 kB / 1.295 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/1.365, allocations: 269.3 kB / 1.295 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.368, allocations: 437.1 kB / 1.296 GB, free: 9.621 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/1.371, allocations: 2.479 MB / 1.298 GB, free: 8.332 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008437/1.372, allocations: 1.124 MB / 1.299 GB, free: 7.617 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/1.373, allocations: 82.42 kB / 1.299 GB, free: 7.609 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.373, allocations: 0 / 1.299 GB, free: 7.609 MB / 1.014 GB Notification: Performance of Templates: time 0.02742/1.4, allocations: 14.5 MB / 1.314 GB, free: 6.453 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches