Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001284/0.001284, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.001289/0.001289, allocations: 194.6 kB / 16.91 MB, free: 6.184 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.401/1.401, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 60.28 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3136, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8084/1.122, allocations: 192.6 MB / 1.252 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01897/1.141, allocations: 14.21 MB / 1.266 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/1.143, allocations: 43.69 kB / 1.266 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/1.145, allocations: 429.8 kB / 1.267 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005126/1.15, allocations: 1.775 MB / 1.268 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/1.152, allocations: 0.7806 MB / 1.269 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003811/1.156, allocations: 2.573 MB / 1.272 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/1.158, allocations: 1.073 MB / 1.273 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005265/1.163, allocations: 1.591 MB / 1.274 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/1.165, allocations: 0.9825 MB / 1.275 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/1.165, allocations: 108 kB / 1.275 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/1.168, allocations: 1.15 MB / 1.276 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005553/1.168, allocations: 0.4987 MB / 1.277 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008214/1.169, allocations: 0.6377 MB / 1.277 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/1.171, allocations: 1.442 MB / 1.279 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.171, allocations: 0 / 1.279 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.171, allocations: 0 / 1.279 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.435e-05/1.171, allocations: 0 / 1.279 GB, free: 13.14 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.002371/1.174, allocations: 1.449 MB / 1.28 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.174, allocations: 8.625 kB / 1.28 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/1.175, allocations: 250.4 kB / 1.281 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/1.176, allocations: 0.7608 MB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/1.176, allocations: 74 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.176, allocations: 92 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.178, allocations: 1.169 MB / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/1.178, allocations: 3.938 kB / 1.283 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.673e-05/1.178, allocations: 40 kB / 1.283 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/1.179, allocations: 33.94 kB / 1.283 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/1.18, allocations: 0.9016 MB / 1.284 GB, free: 8.199 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.006102/1.186, allocations: 5.739 MB / 1.289 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/1.187, allocations: 0.5393 MB / 1.29 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/1.188, allocations: 326.5 kB / 1.29 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006467/1.188, allocations: 311.7 kB / 1.29 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.188, allocations: 39 kB / 1.29 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/1.188, allocations: 4 kB / 1.29 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.00162/1.19, allocations: 0.7949 MB / 1.291 GB, free: 15.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/1.19, allocations: 55.84 kB / 1.291 GB, free: 15.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009635/1.191, allocations: 0.7548 MB / 1.292 GB, free: 15.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/1.191, allocations: 37.7 kB / 1.292 GB, free: 15.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/1.191, allocations: 0.5102 MB / 1.292 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/1.192, allocations: 173.5 kB / 1.293 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/1.192, allocations: 150.5 kB / 1.293 GB, free: 14.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.192, allocations: 333.9 kB / 1.293 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/1.192, allocations: 253.8 kB / 1.293 GB, free: 13.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/1.193, allocations: 0.5507 MB / 1.294 GB, free: 12.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.194, allocations: 0.7995 MB / 1.295 GB, free: 12.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.194, allocations: 8 kB / 1.295 GB, free: 12.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001387/1.196, allocations: 0.8385 MB / 1.295 GB, free: 11.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.196, allocations: 8 kB / 1.295 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.196, allocations: 8 kB / 1.295 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/1.196, allocations: 12 kB / 1.295 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/1.196, allocations: 156.4 kB / 1.296 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/1.196, allocations: 15.94 kB / 1.296 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009196/1.197, allocations: 147 kB / 1.296 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/1.197, allocations: 39.98 kB / 1.296 GB, free: 10.8 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.0005016/1.198, allocations: 329.4 kB / 1.296 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/1.198, allocations: 86.97 kB / 1.296 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/1.199, allocations: 0.618 MB / 1.297 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.199, allocations: 4 kB / 1.297 GB, free: 9.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.199, allocations: 4 kB / 1.297 GB, free: 9.746 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007605/1.2, allocations: 0.5172 MB / 1.297 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/1.203, allocations: 1.667 MB / 1.299 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.203, allocations: 4 kB / 1.299 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/1.203, allocations: 108 kB / 1.299 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/1.203, allocations: 8 kB / 1.299 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/1.203, allocations: 19.98 kB / 1.299 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/1.203, allocations: 7.938 kB / 1.299 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.203, allocations: 4 kB / 1.299 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/1.205, allocations: 1.019 MB / 1.3 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/1.205, allocations: 227.9 kB / 1.3 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.205, allocations: 12 kB / 1.3 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/1.206, allocations: 63.88 kB / 1.3 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/1.206, allocations: 39.84 kB / 1.3 GB, free: 5.906 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/1.206, allocations: 23.98 kB / 1.3 GB, free: 5.883 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007345/1.207, allocations: 0.5068 MB / 1.301 GB, free: 5.379 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.207, allocations: 0 / 1.301 GB, free: 5.379 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001027/1.208, allocations: 299.3 kB / 1.301 GB, free: 5.086 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.0007106/1.208, allocations: 202.6 kB / 1.301 GB, free: 4.891 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001437/1.21, allocations: 0.7134 MB / 1.302 GB, free: 4.176 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.21, allocations: 0 / 1.302 GB, free: 4.176 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/1.21, allocations: 280.2 kB / 1.302 GB, free: 3.902 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.212, allocations: 456.5 kB / 1.303 GB, free: 3.473 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/1.216, allocations: 2.386 MB / 1.305 GB, free: 1.027 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/1.217, allocations: 1.122 MB / 1.306 GB, free: 15.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.217, allocations: 79.42 kB / 1.306 GB, free: 15.8 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/1.217, allocations: 0 / 1.306 GB, free: 15.8 MB / 1.029 GB Notification: Performance of Templates: time 0.02331/1.24, allocations: 14.56 MB / 1.321 GB, free: 1.371 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches