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.001464/0.001464, allocations: 107.8 kB / 16.41 MB, free: 6.449 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.001676/0.001676, allocations: 192.3 kB / 17.35 MB, free: 5.707 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.658/2.658, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7295, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1972/0.9268, allocations: 195.1 MB / 1.417 GB, free: 9.648 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.9438, allocations: 14.32 MB / 1.431 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.945, allocations: 39.75 kB / 1.431 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.9467, allocations: 0.493 MB / 1.431 GB, free: 10.75 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.9512, allocations: 1.98 MB / 1.433 GB, free: 8.766 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.9534, allocations: 0.8596 MB / 1.434 GB, free: 7.91 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003531/0.9569, allocations: 2.581 MB / 1.437 GB, free: 5.316 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.9585, allocations: 1.115 MB / 1.438 GB, free: 4.176 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.9624, allocations: 1.641 MB / 1.439 GB, free: 2.547 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.964, allocations: 0.9302 MB / 1.44 GB, free: 1.617 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.9643, allocations: 104 kB / 1.44 GB, free: 1.516 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.9665, allocations: 1.103 MB / 1.441 GB, free: 420 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005543/0.9671, allocations: 0.4987 MB / 1.442 GB, free: 15.91 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000828/0.9679, allocations: 0.6339 MB / 1.443 GB, free: 15.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.9704, allocations: 1.913 MB / 1.444 GB, free: 13.36 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9704, allocations: 7.938 kB / 1.444 GB, free: 13.35 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9704, allocations: 0 / 1.444 GB, free: 13.35 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.459e-05/0.9705, allocations: 0 / 1.444 GB, free: 13.35 MB / 1.17 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.002179/0.9727, allocations: 1.49 MB / 1.446 GB, free: 11.8 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.9727, allocations: 8.031 kB / 1.446 GB, free: 11.8 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.974, allocations: 259 kB / 1.446 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.9753, allocations: 0.7967 MB / 1.447 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.9753, allocations: 73.94 kB / 1.447 GB, free: 10.63 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.9755, allocations: 92 kB / 1.447 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.977, allocations: 1.169 MB / 1.448 GB, free: 9.301 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.977, allocations: 3.984 kB / 1.448 GB, free: 9.297 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.9771, allocations: 47.92 kB / 1.448 GB, free: 9.25 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/0.9772, allocations: 38 kB / 1.448 GB, free: 9.215 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.9785, allocations: 0.9015 MB / 1.449 GB, free: 8.312 MB / 1.17 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.005005/0.9835, allocations: 5.748 MB / 1.455 GB, free: 2.113 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/0.9843, allocations: 0.5445 MB / 1.455 GB, free: 1.562 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.9847, allocations: 319.1 kB / 1.456 GB, free: 1.242 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/0.9852, allocations: 307.7 kB / 1.456 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.9853, allocations: 46.94 kB / 1.456 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of pre-optimization done (n=49): time 1.904e-06/0.9853, allocations: 0 / 1.456 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of matching and sorting (n=49): time 0.00139/0.9867, allocations: 0.7992 MB / 1.457 GB, free: 28 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.9867, allocations: 59.83 kB / 1.457 GB, free: 15.96 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/0.9875, allocations: 0.7432 MB / 1.458 GB, free: 15.2 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.9876, allocations: 41.64 kB / 1.458 GB, free: 15.16 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.9879, allocations: 0.5234 MB / 1.458 GB, free: 14.62 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.9881, allocations: 186.4 kB / 1.458 GB, free: 14.44 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.9882, allocations: 146.6 kB / 1.458 GB, free: 14.29 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9884, allocations: 337.9 kB / 1.459 GB, free: 13.96 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.9887, allocations: 245.8 kB / 1.459 GB, free: 13.72 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.9893, allocations: 0.5546 MB / 1.46 GB, free: 13.03 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000933/0.9902, allocations: 0.7996 MB / 1.46 GB, free: 12.12 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.9902, allocations: 4 kB / 1.46 GB, free: 12.12 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001174/0.9914, allocations: 0.8464 MB / 1.461 GB, free: 11.26 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.9914, allocations: 8 kB / 1.461 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9915, allocations: 12.84 kB / 1.461 GB, free: 11.24 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.9915, allocations: 15.98 kB / 1.461 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.992, allocations: 155.8 kB / 1.461 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.992, allocations: 15.94 kB / 1.461 GB, free: 11.06 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/0.9927, allocations: 91.42 kB / 1.461 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.9928, allocations: 39.98 kB / 1.461 GB, free: 10.93 MB / 1.186 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.0004244/0.9932, allocations: 333.4 kB / 1.462 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.9933, allocations: 95.42 kB / 1.462 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/0.9943, allocations: 0.6179 MB / 1.462 GB, free: 9.871 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006896/0.995, allocations: 0.5134 MB / 1.463 GB, free: 9.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.995, allocations: 0 / 1.463 GB, free: 9.34 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.9953, allocations: 228.4 kB / 1.463 GB, free: 9.098 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.9954, allocations: 11.94 kB / 1.463 GB, free: 9.086 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.9959, allocations: 15.98 kB / 1.463 GB, free: 9.07 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.9959, allocations: 28.41 kB / 1.463 GB, free: 9.043 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0012/0.9971, allocations: 0.687 MB / 1.464 GB, free: 8.348 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00129/0.9984, allocations: 1.075 MB / 1.465 GB, free: 7.258 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003222/0.9988, allocations: 267.3 kB / 1.465 GB, free: 6.996 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000554/0.9993, allocations: 0.5107 MB / 1.466 GB, free: 6.492 MB / 1.186 GB Notification: Performance of Backend: time 4.21e-07/0.9993, allocations: 0 / 1.466 GB, free: 6.492 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00163/1.001, allocations: 0.7457 MB / 1.466 GB, free: 5.754 MB / 1.186 GB Notification: Performance of SimCode: time 0.003518/1.005, allocations: 2.508 MB / 1.469 GB, free: 3.199 MB / 1.186 GB Notification: Performance of Templates: time 0.02812/1.033, allocations: 17.86 MB / 1.486 GB, free: 1.527 MB / 1.201 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