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.00141/0.00141, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001409/0.001408, allocations: 187 kB / 17.34 MB, free: 5.719 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.411/1.411, allocations: 222.9 MB / 241 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.65/2.65, allocations: 461.9 MB / 0.7354 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8369, 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.2107/1.048, allocations: 195.1 MB / 1.399 GB, free: 9.797 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01842/1.066, allocations: 14.32 MB / 1.413 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/1.068, allocations: 35.81 kB / 1.413 GB, free: 11.4 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/1.069, allocations: 0.4929 MB / 1.413 GB, free: 10.9 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00476/1.074, allocations: 1.901 MB / 1.415 GB, free: 8.996 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/1.077, allocations: 0.8645 MB / 1.416 GB, free: 8.133 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003403/1.08, allocations: 2.565 MB / 1.419 GB, free: 5.566 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/1.082, allocations: 1.111 MB / 1.42 GB, free: 4.43 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004469/1.086, allocations: 1.63 MB / 1.421 GB, free: 2.812 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/1.088, allocations: 0.9127 MB / 1.422 GB, free: 1.898 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/1.089, allocations: 104 kB / 1.422 GB, free: 1.797 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/1.091, allocations: 1.103 MB / 1.423 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006347/1.092, allocations: 0.4988 MB / 1.424 GB, free: 196 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/1.093, allocations: 0.6416 MB / 1.425 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003293/1.096, allocations: 1.905 MB / 1.426 GB, free: 13.64 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.096, allocations: 0 / 1.426 GB, free: 13.64 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.993e-06/1.096, allocations: 0 / 1.426 GB, free: 13.64 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.068e-05/1.096, allocations: 4 kB / 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.002775/1.099, allocations: 1.449 MB / 1.428 GB, free: 12.13 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.099, allocations: 8.031 kB / 1.428 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/1.101, allocations: 258.3 kB / 1.428 GB, free: 11.87 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/1.102, allocations: 0.7921 MB / 1.429 GB, free: 11.04 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/1.102, allocations: 70 kB / 1.429 GB, free: 10.96 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/1.102, allocations: 95.91 kB / 1.429 GB, free: 10.87 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/1.104, allocations: 1.169 MB / 1.43 GB, free: 9.633 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/1.104, allocations: 11.94 kB / 1.43 GB, free: 9.621 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-05/1.104, allocations: 43.94 kB / 1.43 GB, free: 9.578 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/1.104, allocations: 30 kB / 1.43 GB, free: 9.547 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/1.106, allocations: 0.9015 MB / 1.431 GB, free: 8.648 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.005744/1.112, allocations: 5.743 MB / 1.437 GB, free: 2.445 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008556/1.112, allocations: 0.5316 MB / 1.437 GB, free: 1.906 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/1.113, allocations: 322.5 kB / 1.438 GB, free: 1.586 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/1.113, allocations: 315.7 kB / 1.438 GB, free: 1.223 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.113, allocations: 39 kB / 1.438 GB, free: 1.176 MB / 1.154 GB Notification: Performance of pre-optimization done (n=49): time 2.224e-06/1.113, allocations: 0 / 1.438 GB, free: 1.176 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.001529/1.115, allocations: 0.8026 MB / 1.439 GB, free: 376 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.115, allocations: 59.84 kB / 1.439 GB, free: 304 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.116, allocations: 0.7508 MB / 1.439 GB, free: 15.54 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/1.116, allocations: 37.7 kB / 1.439 GB, free: 15.49 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/1.117, allocations: 0.5026 MB / 1.44 GB, free: 14.98 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/1.117, allocations: 177.5 kB / 1.44 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/1.117, allocations: 146.5 kB / 1.44 GB, free: 14.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.117, allocations: 341.9 kB / 1.441 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/1.117, allocations: 245.8 kB / 1.441 GB, free: 14.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/1.118, allocations: 0.5546 MB / 1.441 GB, free: 13.39 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009437/1.119, allocations: 0.7956 MB / 1.442 GB, free: 12.48 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.119, allocations: 4 kB / 1.442 GB, free: 12.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001287/1.12, allocations: 0.8464 MB / 1.443 GB, free: 11.62 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.12, allocations: 8 kB / 1.443 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.12, allocations: 8 kB / 1.443 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/1.12, allocations: 12 kB / 1.443 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/1.121, allocations: 163.7 kB / 1.443 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/1.121, allocations: 15.94 kB / 1.443 GB, free: 11.42 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/1.122, allocations: 91.55 kB / 1.443 GB, free: 11.33 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/1.122, allocations: 39.92 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.0004513/1.122, allocations: 329.4 kB / 1.444 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/1.122, allocations: 86.97 kB / 1.444 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/1.123, allocations: 0.6141 MB / 1.444 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.123, allocations: 4 kB / 1.444 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.123, allocations: 4 kB / 1.444 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006805/1.124, allocations: 0.5211 MB / 1.445 GB, free: 9.711 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/1.127, allocations: 1.674 MB / 1.446 GB, free: 7.957 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.127, allocations: 3.938 kB / 1.446 GB, free: 7.953 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/1.127, allocations: 111.8 kB / 1.447 GB, free: 7.844 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.127, allocations: 4 kB / 1.447 GB, free: 7.84 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/1.127, allocations: 15.98 kB / 1.447 GB, free: 7.824 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/1.127, allocations: 4 kB / 1.447 GB, free: 7.82 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.127, allocations: 4 kB / 1.447 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.128, allocations: 1.015 MB / 1.448 GB, free: 6.762 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/1.129, allocations: 231.9 kB / 1.448 GB, free: 6.516 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.129, allocations: 12 kB / 1.448 GB, free: 6.504 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/1.129, allocations: 19.98 kB / 1.448 GB, free: 6.484 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/1.13, allocations: 32.05 kB / 1.448 GB, free: 6.453 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/1.13, allocations: 27.97 kB / 1.448 GB, free: 6.426 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006268/1.13, allocations: 0.5068 MB / 1.448 GB, free: 5.922 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.01e-07/1.13, allocations: 0 / 1.448 GB, free: 5.922 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008744/1.131, allocations: 299.3 kB / 1.449 GB, free: 5.629 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.0004746/1.132, allocations: 220.9 kB / 1.449 GB, free: 5.418 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009602/1.133, allocations: 0.6037 MB / 1.449 GB, free: 4.816 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.133, allocations: 0.625 kB / 1.449 GB, free: 4.816 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/1.133, allocations: 279.6 kB / 1.45 GB, free: 4.543 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/1.135, allocations: 437.4 kB / 1.45 GB, free: 4.125 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/1.138, allocations: 2.001 MB / 1.452 GB, free: 2.066 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007353/1.139, allocations: 1.122 MB / 1.453 GB, free: 0.918 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/1.139, allocations: 79.42 kB / 1.453 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of SimCode: time 3.71e-07/1.139, allocations: 0 / 1.453 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of Templates: time 0.02399/1.163, allocations: 14.64 MB / 1.468 GB, free: 2.324 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