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.00509/0.00509, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001088/0.001088, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.91 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9313, 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.231/1.162, allocations: 195.1 MB / 1.398 GB, free: 9.785 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02014/1.183, allocations: 14.32 MB / 1.412 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/1.185, allocations: 35.81 kB / 1.412 GB, free: 11.39 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/1.186, allocations: 0.4968 MB / 1.413 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006107/1.193, allocations: 1.894 MB / 1.415 GB, free: 8.988 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/1.196, allocations: 0.8604 MB / 1.415 GB, free: 8.133 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003957/1.2, allocations: 2.573 MB / 1.418 GB, free: 5.555 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/1.201, allocations: 1.107 MB / 1.419 GB, free: 4.422 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005041/1.206, allocations: 1.619 MB / 1.421 GB, free: 2.816 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/1.208, allocations: 0.9272 MB / 1.422 GB, free: 1.891 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/1.209, allocations: 108 kB / 1.422 GB, free: 1.785 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/1.211, allocations: 1.095 MB / 1.423 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004971/1.212, allocations: 0.4949 MB / 1.423 GB, free: 196 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008426/1.213, allocations: 0.6455 MB / 1.424 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/1.216, allocations: 1.905 MB / 1.426 GB, free: 13.63 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.216, allocations: 0 / 1.426 GB, free: 13.63 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.924e-06/1.216, allocations: 0 / 1.426 GB, free: 13.63 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.216, 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.002408/1.218, allocations: 1.445 MB / 1.427 GB, free: 12.13 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/1.218, allocations: 12.03 kB / 1.427 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/1.22, allocations: 262.3 kB / 1.427 GB, free: 11.86 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/1.221, allocations: 0.796 MB / 1.428 GB, free: 11.03 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/1.221, allocations: 66 kB / 1.428 GB, free: 10.96 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/1.221, allocations: 95.91 kB / 1.428 GB, free: 10.87 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/1.223, allocations: 1.169 MB / 1.429 GB, free: 9.629 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/1.223, allocations: 7.984 kB / 1.429 GB, free: 9.621 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/1.223, allocations: 47.94 kB / 1.429 GB, free: 9.574 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/1.223, allocations: 34 kB / 1.43 GB, free: 9.539 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/1.225, allocations: 0.9054 MB / 1.43 GB, free: 8.637 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.005917/1.231, allocations: 5.735 MB / 1.436 GB, free: 2.441 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/1.232, allocations: 0.5393 MB / 1.437 GB, free: 1.895 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/1.232, allocations: 314.6 kB / 1.437 GB, free: 1.582 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/1.233, allocations: 311.8 kB / 1.437 GB, free: 1.223 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/1.233, allocations: 42.98 kB / 1.437 GB, free: 1.172 MB / 1.154 GB Notification: Performance of pre-optimization done (n=49): time 2.475e-06/1.233, allocations: 0 / 1.437 GB, free: 1.172 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.001485/1.234, allocations: 0.8026 MB / 1.438 GB, free: 372 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.234, allocations: 55.84 kB / 1.438 GB, free: 304 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009005/1.235, allocations: 0.7547 MB / 1.439 GB, free: 15.53 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/1.235, allocations: 37.7 kB / 1.439 GB, free: 15.49 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/1.236, allocations: 0.5104 MB / 1.439 GB, free: 14.97 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/1.236, allocations: 173.5 kB / 1.439 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/1.236, allocations: 142.5 kB / 1.44 GB, free: 14.65 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.236, allocations: 345.9 kB / 1.44 GB, free: 14.31 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/1.236, allocations: 245.9 kB / 1.44 GB, free: 14.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/1.237, allocations: 0.5546 MB / 1.441 GB, free: 13.38 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/1.238, allocations: 0.7956 MB / 1.441 GB, free: 12.47 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.238, allocations: 0 / 1.441 GB, free: 12.47 MB / 1.17 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001336/1.239, allocations: 0.8504 MB / 1.442 GB, free: 11.61 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/1.239, allocations: 8 kB / 1.442 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/1.239, allocations: 8 kB / 1.442 GB, free: 11.6 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/1.239, allocations: 12 kB / 1.442 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/1.24, allocations: 155.8 kB / 1.442 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.949e-05/1.24, allocations: 19.92 kB / 1.442 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/1.241, allocations: 91.44 kB / 1.443 GB, free: 11.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/1.241, allocations: 39.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.0006413/1.242, allocations: 329.5 kB / 1.443 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/1.242, allocations: 86.97 kB / 1.443 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/1.243, allocations: 0.6179 MB / 1.444 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.243, allocations: 4 kB / 1.444 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.243, allocations: 4 kB / 1.444 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007936/1.244, allocations: 0.5173 MB / 1.444 GB, free: 9.707 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/1.247, allocations: 1.671 MB / 1.446 GB, free: 7.957 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.247, allocations: 15.91 kB / 1.446 GB, free: 7.941 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/1.247, allocations: 111.8 kB / 1.446 GB, free: 7.832 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/1.247, allocations: 4 kB / 1.446 GB, free: 7.828 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/1.248, allocations: 16 kB / 1.446 GB, free: 7.812 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.597e-06/1.248, allocations: 4 kB / 1.446 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.248, allocations: 0 / 1.446 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/1.249, allocations: 1.015 MB / 1.447 GB, free: 6.754 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/1.249, allocations: 235.9 kB / 1.447 GB, free: 6.504 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/1.25, allocations: 8 kB / 1.447 GB, free: 6.496 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/1.25, allocations: 23.98 kB / 1.447 GB, free: 6.473 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/1.25, allocations: 35.89 kB / 1.447 GB, free: 6.438 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/1.25, allocations: 16 kB / 1.447 GB, free: 6.422 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000714/1.251, allocations: 0.5107 MB / 1.448 GB, free: 5.914 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.251, allocations: 0 / 1.448 GB, free: 5.914 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001095/1.252, allocations: 299.3 kB / 1.448 GB, free: 5.621 MB / 1.17 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.0005574/1.253, allocations: 209.4 kB / 1.448 GB, free: 5.418 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009856/1.254, allocations: 0.6078 MB / 1.449 GB, free: 4.812 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.254, allocations: 0 / 1.449 GB, free: 4.812 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/1.254, allocations: 280.4 kB / 1.449 GB, free: 4.539 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/1.256, allocations: 441.1 kB / 1.449 GB, free: 4.121 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/1.259, allocations: 1.923 MB / 1.451 GB, free: 2.145 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/1.26, allocations: 1.114 MB / 1.452 GB, free: 1.004 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007722/1.26, allocations: 279 kB / 1.453 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/1.26, allocations: 71.42 kB / 1.453 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of SimCode: time 1.112e-06/1.26, allocations: 3.938 kB / 1.453 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of Templates: time 0.02823/1.289, allocations: 15.57 MB / 1.468 GB, free: 1.309 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches