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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001916/0.001916, allocations: 109.9 kB / 16.41 MB, free: 6.508 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.002045/0.002045, allocations: 190.5 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.192/2.192, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 68.11 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7543, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2014/0.9557, allocations: 195.1 MB / 1.399 GB, free: 9.781 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01815/0.9739, allocations: 14.31 MB / 1.413 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.9755, allocations: 35.81 kB / 1.413 GB, free: 11.39 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.977, allocations: 0.5007 MB / 1.413 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.9817, allocations: 1.893 MB / 1.415 GB, free: 8.992 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.9845, allocations: 0.8635 MB / 1.416 GB, free: 8.133 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.9879, allocations: 2.569 MB / 1.419 GB, free: 5.559 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.9899, allocations: 1.115 MB / 1.42 GB, free: 4.418 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.9946, allocations: 1.623 MB / 1.421 GB, free: 2.805 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.9965, allocations: 0.9202 MB / 1.422 GB, free: 1.883 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.9968, allocations: 108 kB / 1.422 GB, free: 1.777 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.9996, allocations: 1.099 MB / 1.423 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006483/1, allocations: 0.4949 MB / 1.424 GB, free: 184 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/1.001, allocations: 0.6378 MB / 1.425 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/1.004, allocations: 1.905 MB / 1.426 GB, free: 13.63 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.004, allocations: 0 / 1.426 GB, free: 13.63 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.753e-06/1.004, allocations: 0 / 1.426 GB, free: 13.63 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.74e-05/1.005, allocations: 0 / 1.426 GB, free: 13.63 MB / 1.154 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.002554/1.007, allocations: 1.449 MB / 1.428 GB, free: 12.12 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.007, allocations: 16.02 kB / 1.428 GB, free: 12.11 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/1.009, allocations: 254.3 kB / 1.428 GB, free: 11.86 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.01, allocations: 0.7883 MB / 1.429 GB, free: 11.03 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/1.01, allocations: 66 kB / 1.429 GB, free: 10.96 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/1.01, allocations: 103.9 kB / 1.429 GB, free: 10.86 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/1.012, allocations: 1.161 MB / 1.43 GB, free: 9.633 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/1.012, allocations: 11.94 kB / 1.43 GB, free: 9.621 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/1.012, allocations: 39.94 kB / 1.43 GB, free: 9.582 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/1.012, allocations: 37.98 kB / 1.43 GB, free: 9.543 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/1.014, allocations: 0.9015 MB / 1.431 GB, free: 8.645 MB / 1.154 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.005832/1.02, allocations: 5.747 MB / 1.437 GB, free: 2.438 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008825/1.02, allocations: 0.5315 MB / 1.437 GB, free: 1.898 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/1.021, allocations: 318.6 kB / 1.438 GB, free: 1.582 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/1.022, allocations: 315.7 kB / 1.438 GB, free: 1.219 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/1.022, allocations: 39 kB / 1.438 GB, free: 1.172 MB / 1.154 GB Notification: Performance of pre-optimization done (n=49): time 2.725e-06/1.022, allocations: 0 / 1.438 GB, free: 1.172 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.001618/1.023, allocations: 0.8026 MB / 1.439 GB, free: 372 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/1.023, allocations: 55.84 kB / 1.439 GB, free: 304 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009471/1.024, allocations: 0.7586 MB / 1.439 GB, free: 15.53 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.68e-05/1.024, allocations: 37.7 kB / 1.439 GB, free: 15.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/1.025, allocations: 0.5026 MB / 1.44 GB, free: 14.97 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/1.025, allocations: 181.4 kB / 1.44 GB, free: 14.79 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/1.025, allocations: 146.5 kB / 1.44 GB, free: 14.64 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.025, allocations: 337.9 kB / 1.441 GB, free: 14.31 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/1.026, allocations: 249.9 kB / 1.441 GB, free: 14.06 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/1.026, allocations: 0.5507 MB / 1.441 GB, free: 13.38 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009688/1.027, allocations: 0.7956 MB / 1.442 GB, free: 12.47 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.027, allocations: 4 kB / 1.442 GB, free: 12.47 MB / 1.17 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001268/1.028, allocations: 0.8503 MB / 1.443 GB, free: 11.61 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.028, allocations: 8 kB / 1.443 GB, free: 11.6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.028, allocations: 12 kB / 1.443 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.029, allocations: 12 kB / 1.443 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/1.029, allocations: 155.7 kB / 1.443 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/1.029, allocations: 15.94 kB / 1.443 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/1.03, allocations: 91.61 kB / 1.443 GB, free: 11.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/1.03, allocations: 35.94 kB / 1.443 GB, free: 11.29 MB / 1.17 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.0004046/1.03, allocations: 331 kB / 1.444 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/1.031, allocations: 90.91 kB / 1.444 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009966/1.032, allocations: 0.6141 MB / 1.444 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007109/1.032, allocations: 0.5211 MB / 1.445 GB, free: 9.711 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.032, allocations: 4 kB / 1.445 GB, free: 9.707 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/1.033, allocations: 219.9 kB / 1.445 GB, free: 9.473 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.033, allocations: 19.92 kB / 1.445 GB, free: 9.453 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/1.033, allocations: 16 kB / 1.445 GB, free: 9.438 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/1.033, allocations: 28.39 kB / 1.445 GB, free: 9.41 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001243/1.034, allocations: 0.6792 MB / 1.446 GB, free: 8.723 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001333/1.036, allocations: 1.083 MB / 1.447 GB, free: 7.621 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003365/1.036, allocations: 263.5 kB / 1.447 GB, free: 7.367 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006094/1.037, allocations: 0.5068 MB / 1.448 GB, free: 6.863 MB / 1.17 GB Notification: Performance of Backend: time 3.31e-07/1.037, allocations: 0 / 1.448 GB, free: 6.863 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001792/1.039, allocations: 0.7516 MB / 1.448 GB, free: 6.129 MB / 1.17 GB Notification: Performance of SimCode: time 0.003967/1.043, allocations: 2.471 MB / 1.451 GB, free: 3.609 MB / 1.17 GB Notification: Performance of Templates: time 0.03194/1.074, allocations: 18.11 MB / 1.468 GB, free: 1.684 MB / 1.186 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