Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001254/0.001254, allocations: 108 kB / 15.6 MB, free: 132 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.001296/0.001296, allocations: 192 kB / 16.53 MB, free: 6.391 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437 MB / 0.7103 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7583, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2128/0.9711, allocations: 195.1 MB / 1.208 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.9892, allocations: 14.3 MB / 1.222 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.992, allocations: 35.81 kB / 1.222 GB, free: 260 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.9942, allocations: 0.4969 MB / 1.222 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005991/1, allocations: 1.89 MB / 1.224 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/1.003, allocations: 0.8642 MB / 1.225 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003462/1.007, allocations: 2.565 MB / 1.227 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/1.008, allocations: 1.122 MB / 1.229 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004257/1.012, allocations: 1.582 MB / 1.23 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/1.014, allocations: 0.9233 MB / 1.231 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/1.014, allocations: 111.9 kB / 1.231 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/1.017, allocations: 1.099 MB / 1.232 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005121/1.017, allocations: 0.4949 MB / 1.233 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008425/1.018, allocations: 0.6299 MB / 1.233 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002861/1.021, allocations: 1.885 MB / 1.235 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.021, allocations: 0 / 1.235 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.334e-06/1.021, allocations: 0 / 1.235 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.171e-05/1.021, allocations: 0 / 1.235 GB, free: 2.566 MB / 0.9825 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.002351/1.024, allocations: 1.445 MB / 1.237 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.024, allocations: 12.03 kB / 1.237 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/1.025, allocations: 262.3 kB / 1.237 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/1.026, allocations: 0.7492 MB / 1.238 GB, free: 8 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/1.026, allocations: 70.05 kB / 1.238 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/1.026, allocations: 91.94 kB / 1.238 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/1.028, allocations: 1.177 MB / 1.239 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/1.028, allocations: 3.938 kB / 1.239 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/1.028, allocations: 39.94 kB / 1.239 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/1.028, allocations: 34 kB / 1.239 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/1.03, allocations: 0.9093 MB / 1.24 GB, free: 13.62 MB / 0.9981 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.005638/1.035, allocations: 5.766 MB / 1.245 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/1.036, allocations: 0.5447 MB / 1.246 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/1.037, allocations: 314.6 kB / 1.246 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/1.037, allocations: 311.7 kB / 1.247 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.037, allocations: 43 kB / 1.247 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.565e-06/1.037, allocations: 0 / 1.247 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001551/1.039, allocations: 0.8026 MB / 1.247 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/1.039, allocations: 63.78 kB / 1.247 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009036/1.04, allocations: 0.7509 MB / 1.248 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/1.04, allocations: 33.7 kB / 1.248 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/1.04, allocations: 0.5142 MB / 1.249 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/1.04, allocations: 181.5 kB / 1.249 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/1.041, allocations: 134.6 kB / 1.249 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.041, allocations: 341.9 kB / 1.249 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/1.041, allocations: 245.9 kB / 1.25 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/1.042, allocations: 0.5624 MB / 1.25 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/1.043, allocations: 0.7995 MB / 1.251 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.043, allocations: 0 / 1.251 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001271/1.044, allocations: 0.842 MB / 1.252 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.044, allocations: 8 kB / 1.252 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.044, allocations: 8.906 kB / 1.252 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/1.044, allocations: 12 kB / 1.252 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/1.045, allocations: 159.8 kB / 1.252 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/1.045, allocations: 27.84 kB / 1.252 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/1.045, allocations: 87.11 kB / 1.252 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/1.046, allocations: 35.94 kB / 1.252 GB, free: 232 kB / 0.9981 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.6053/1.651, allocations: 323.4 kB / 1.252 GB, free: 235.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/1.651, allocations: 85.34 kB / 1.252 GB, free: 235.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/1.652, allocations: 0.6219 MB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.652, allocations: 5.594 kB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.652, allocations: 0 / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007963/1.653, allocations: 0.5178 MB / 1.254 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/1.656, allocations: 1.67 MB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.656, allocations: 7.594 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/1.657, allocations: 108.6 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/1.657, allocations: 10.22 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/1.657, allocations: 18.92 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/1.657, allocations: 4.312 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.657, allocations: 2.031 kB / 1.255 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/1.658, allocations: 1.016 MB / 1.256 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/1.659, allocations: 226.5 kB / 1.257 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.659, allocations: 9.453 kB / 1.257 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/1.659, allocations: 22.41 kB / 1.257 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/1.659, allocations: 39.72 kB / 1.257 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/1.659, allocations: 19.25 kB / 1.257 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007687/1.66, allocations: 0.5105 MB / 1.257 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.66, allocations: 0 / 1.257 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00107/1.661, allocations: 298.4 kB / 1.257 GB, free: 233.5 MB / 0.9981 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.000547/1.662, allocations: 214.3 kB / 1.258 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001436/1.663, allocations: 0.7138 MB / 1.258 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.663, allocations: 0.75 kB / 1.258 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/1.664, allocations: 277.1 kB / 1.259 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/1.666, allocations: 434.4 kB / 1.259 GB, free: 233 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/1.669, allocations: 1.954 MB / 1.261 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007807/1.67, allocations: 1.123 MB / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009951/1.671, allocations: 263.8 kB / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/1.671, allocations: 68.45 kB / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/1.671, allocations: 0 / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03256/1.704, allocations: 15.42 MB / 1.277 GB, free: 226.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches