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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 217.4 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.774/2.774, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 66.33 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3728, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2374/0.6102, allocations: 172.7 MB / 1.452 GB, free: 14.63 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.6309, allocations: 13.17 MB / 1.465 GB, free: 1.434 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.6325, allocations: 51.56 kB / 1.465 GB, free: 1.383 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.6345, allocations: 492.9 kB / 1.466 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.6407, allocations: 1.953 MB / 1.468 GB, free: 14.94 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.6438, allocations: 0.8796 MB / 1.469 GB, free: 14.06 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004443/0.6482, allocations: 2.616 MB / 1.471 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.6497, allocations: 0.8028 MB / 1.472 GB, free: 10.61 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005036/0.6548, allocations: 1.671 MB / 1.474 GB, free: 8.957 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.6569, allocations: 0.9574 MB / 1.474 GB, free: 7.996 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.6571, allocations: 104 kB / 1.475 GB, free: 7.895 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.6595, allocations: 0.9351 MB / 1.475 GB, free: 6.957 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005893/0.6601, allocations: 0.5025 MB / 1.476 GB, free: 6.453 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007215/0.6608, allocations: 0.5251 MB / 1.476 GB, free: 5.926 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002919/0.6637, allocations: 1.896 MB / 1.478 GB, free: 4.023 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6637, allocations: 4 kB / 1.478 GB, free: 4.02 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6637, allocations: 0 / 1.478 GB, free: 4.02 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.6637, allocations: 0 / 1.478 GB, free: 4.02 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.00245/0.6662, allocations: 1.411 MB / 1.48 GB, free: 2.574 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.6662, allocations: 8.031 kB / 1.48 GB, free: 2.566 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.6675, allocations: 259 kB / 1.48 GB, free: 2.312 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.669, allocations: 0.7206 MB / 1.481 GB, free: 1.562 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.6691, allocations: 73.98 kB / 1.481 GB, free: 1.492 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.6693, allocations: 103.9 kB / 1.481 GB, free: 1.391 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.6712, allocations: 1.294 MB / 1.482 GB, free: 15.99 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.6712, allocations: 4 kB / 1.482 GB, free: 15.99 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-05/0.6713, allocations: 39.94 kB / 1.482 GB, free: 15.95 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/0.6713, allocations: 34 kB / 1.482 GB, free: 15.92 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.6728, allocations: 0.9015 MB / 1.483 GB, free: 15.02 MB / 1.186 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.005697/0.6785, allocations: 3.99 MB / 1.487 GB, free: 10.91 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.6794, allocations: 0.5182 MB / 1.487 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.6799, allocations: 294.6 kB / 1.488 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/0.6804, allocations: 80.34 kB / 1.488 GB, free: 10.01 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.6804, allocations: 42.94 kB / 1.488 GB, free: 9.961 MB / 1.186 GB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.6804, allocations: 0 / 1.488 GB, free: 9.961 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.001749/0.6822, allocations: 0.7992 MB / 1.489 GB, free: 9.16 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.6822, allocations: 55.84 kB / 1.489 GB, free: 9.09 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/0.6831, allocations: 0.6527 MB / 1.489 GB, free: 8.426 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.6832, allocations: 37.7 kB / 1.489 GB, free: 8.383 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/0.6837, allocations: 0.5233 MB / 1.49 GB, free: 7.852 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.6839, allocations: 190.4 kB / 1.49 GB, free: 7.664 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.6842, allocations: 138.6 kB / 1.49 GB, free: 7.52 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002291/0.6844, allocations: 390.7 kB / 1.491 GB, free: 7.129 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.6848, allocations: 245.8 kB / 1.491 GB, free: 6.891 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.6858, allocations: 0.8385 MB / 1.492 GB, free: 5.852 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.6869, allocations: 0.7957 MB / 1.492 GB, free: 4.949 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.687, allocations: 7.984 kB / 1.492 GB, free: 4.941 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001383/0.6883, allocations: 0.8352 MB / 1.493 GB, free: 4.098 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.6884, allocations: 8 kB / 1.493 GB, free: 4.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.6884, allocations: 12 kB / 1.493 GB, free: 4.078 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.6884, allocations: 12 kB / 1.493 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.689, allocations: 155.8 kB / 1.493 GB, free: 3.914 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.689, allocations: 19.92 kB / 1.493 GB, free: 3.895 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/0.6897, allocations: 83.97 kB / 1.494 GB, free: 3.812 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.6898, allocations: 32 kB / 1.494 GB, free: 3.781 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.0005167/0.6903, allocations: 338.5 kB / 1.494 GB, free: 3.441 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.6905, allocations: 83.48 kB / 1.494 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.6915, allocations: 0.6093 MB / 1.495 GB, free: 2.742 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6915, allocations: 4 kB / 1.495 GB, free: 2.738 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6915, allocations: 0 / 1.495 GB, free: 2.738 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007453/0.6923, allocations: 0.5211 MB / 1.495 GB, free: 2.207 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.6948, allocations: 1.444 MB / 1.496 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6948, allocations: 4 kB / 1.496 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.6953, allocations: 103.9 kB / 1.497 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.6953, allocations: 4 kB / 1.497 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.6954, allocations: 24.14 kB / 1.497 GB, free: 0.5664 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.6954, allocations: 8 kB / 1.497 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6954, allocations: 0 / 1.497 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.6968, allocations: 1.008 MB / 1.498 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.6971, allocations: 139.4 kB / 1.498 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/0.6972, allocations: 15.94 kB / 1.498 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.6977, allocations: 15.98 kB / 1.498 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.6977, allocations: 35.88 kB / 1.498 GB, free: 15.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.6978, allocations: 20 kB / 1.498 GB, free: 15.29 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005917/0.6984, allocations: 447 kB / 1.498 GB, free: 14.86 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6984, allocations: 4 kB / 1.498 GB, free: 14.86 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009224/0.6993, allocations: 307.3 kB / 1.499 GB, free: 14.55 MB / 1.201 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.0004971/0.6998, allocations: 204.2 kB / 1.499 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.7008, allocations: 0.5929 MB / 1.499 GB, free: 13.77 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7009, allocations: 0 / 1.499 GB, free: 13.77 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.7012, allocations: 267.5 kB / 1.5 GB, free: 13.5 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.7029, allocations: 374.7 kB / 1.5 GB, free: 13.14 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.7063, allocations: 2.014 MB / 1.502 GB, free: 11.06 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.707, allocations: 0.5309 MB / 1.502 GB, free: 10.5 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.7072, allocations: 79.36 kB / 1.502 GB, free: 10.42 MB / 1.201 GB Notification: Performance of SimCode: time 8.12e-07/0.7072, allocations: 0 / 1.502 GB, free: 10.42 MB / 1.201 GB Notification: Performance of Templates: time 0.02658/0.7338, allocations: 14.3 MB / 1.516 GB, free: 12.23 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.117508644238114]