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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.89 kB / 1.107 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 168.7 MB / 1.272 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2551/1.388, allocations: 196.2 MB / 1.464 GB, free: 384 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02052/1.409, allocations: 14.48 MB / 1.478 GB, free: 1.859 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/1.41, allocations: 35.81 kB / 1.478 GB, free: 1.824 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/1.412, allocations: 0.5124 MB / 1.478 GB, free: 1.309 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005406/1.418, allocations: 1.969 MB / 1.48 GB, free: 15.34 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/1.42, allocations: 0.8861 MB / 1.481 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004606/1.425, allocations: 2.58 MB / 1.484 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/1.427, allocations: 0.7906 MB / 1.484 GB, free: 11.05 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005343/1.432, allocations: 1.658 MB / 1.486 GB, free: 9.402 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/1.434, allocations: 0.9908 MB / 1.487 GB, free: 8.41 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002921/1.434, allocations: 108 kB / 1.487 GB, free: 8.305 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/1.437, allocations: 1.165 MB / 1.488 GB, free: 7.137 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006688/1.438, allocations: 0.5064 MB / 1.489 GB, free: 6.629 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009784/1.439, allocations: 0.6377 MB / 1.489 GB, free: 5.988 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003431/1.442, allocations: 1.915 MB / 1.491 GB, free: 4.066 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.442, allocations: 4 kB / 1.491 GB, free: 4.062 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.693e-06/1.442, allocations: 0 / 1.491 GB, free: 4.062 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.492e-05/1.442, allocations: 4 kB / 1.491 GB, free: 4.059 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.002576/1.445, allocations: 1.478 MB / 1.493 GB, free: 2.527 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.445, allocations: 8.031 kB / 1.493 GB, free: 2.52 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/1.446, allocations: 259 kB / 1.493 GB, free: 2.266 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/1.448, allocations: 0.8044 MB / 1.494 GB, free: 1.414 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/1.448, allocations: 66 kB / 1.494 GB, free: 1.352 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/1.448, allocations: 99.94 kB / 1.494 GB, free: 1.254 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/1.45, allocations: 1.173 MB / 1.495 GB, free: 8 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/1.45, allocations: 0 / 1.495 GB, free: 8 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.45, allocations: 44.02 kB / 1.495 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/1.45, allocations: 34 kB / 1.495 GB, free: 15.93 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/1.452, allocations: 0.9054 MB / 1.496 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.006948/1.459, allocations: 5.751 MB / 1.502 GB, free: 8.82 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009909/1.46, allocations: 0.5174 MB / 1.502 GB, free: 8.293 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/1.46, allocations: 298.5 kB / 1.502 GB, free: 7.996 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/1.461, allocations: 311.8 kB / 1.503 GB, free: 7.637 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/1.461, allocations: 39 kB / 1.503 GB, free: 7.59 MB / 1.186 GB Notification: Performance of pre-optimization done (n=49): time 2.495e-06/1.461, allocations: 0 / 1.503 GB, free: 7.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.001724/1.463, allocations: 0.8069 MB / 1.503 GB, free: 6.777 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/1.463, allocations: 63.78 kB / 1.503 GB, free: 6.703 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/1.464, allocations: 0.7432 MB / 1.504 GB, free: 5.953 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/1.464, allocations: 41.7 kB / 1.504 GB, free: 5.906 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/1.464, allocations: 0.5194 MB / 1.505 GB, free: 5.379 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/1.465, allocations: 186.4 kB / 1.505 GB, free: 5.195 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/1.465, allocations: 146.6 kB / 1.505 GB, free: 5.047 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002093/1.465, allocations: 337.9 kB / 1.505 GB, free: 4.711 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/1.466, allocations: 245.8 kB / 1.506 GB, free: 4.473 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000762/1.466, allocations: 0.5585 MB / 1.506 GB, free: 3.777 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.468, allocations: 0.7995 MB / 1.507 GB, free: 2.871 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.468, allocations: 4 kB / 1.507 GB, free: 2.867 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001461/1.469, allocations: 0.8433 MB / 1.508 GB, free: 2.016 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.469, allocations: 8 kB / 1.508 GB, free: 2.008 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.469, allocations: 16.11 kB / 1.508 GB, free: 1.992 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/1.469, allocations: 12 kB / 1.508 GB, free: 1.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/1.47, allocations: 151.8 kB / 1.508 GB, free: 1.832 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/1.47, allocations: 15.94 kB / 1.508 GB, free: 1.816 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/1.47, allocations: 91.38 kB / 1.508 GB, free: 1.727 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/1.471, allocations: 39.94 kB / 1.508 GB, free: 1.688 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.0005687/1.471, allocations: 341.4 kB / 1.508 GB, free: 1.344 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.471, allocations: 87.44 kB / 1.509 GB, free: 1.258 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/1.472, allocations: 0.6179 MB / 1.509 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.472, allocations: 8 kB / 1.509 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.472, allocations: 0 / 1.509 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007783/1.473, allocations: 0.5134 MB / 1.51 GB, free: 96 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/1.476, allocations: 1.663 MB / 1.511 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.476, allocations: 11.88 kB / 1.511 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/1.476, allocations: 111.8 kB / 1.511 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/1.476, allocations: 4 kB / 1.511 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/1.477, allocations: 20.22 kB / 1.511 GB, free: 14.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/1.477, allocations: 4 kB / 1.511 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.477, allocations: 0 / 1.511 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/1.478, allocations: 1.023 MB / 1.512 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/1.478, allocations: 236.4 kB / 1.513 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.479, allocations: 12 kB / 1.513 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/1.479, allocations: 24.67 kB / 1.513 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/1.479, allocations: 35.89 kB / 1.513 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/1.479, allocations: 20 kB / 1.513 GB, free: 12.8 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008397/1.48, allocations: 0.5107 MB / 1.513 GB, free: 12.3 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/1.48, allocations: 0 / 1.513 GB, free: 12.3 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001034/1.481, allocations: 299.4 kB / 1.513 GB, free: 12 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.000621/1.482, allocations: 203.5 kB / 1.514 GB, free: 11.81 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.483, allocations: 0.588 MB / 1.514 GB, free: 11.22 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.483, allocations: 3.938 kB / 1.514 GB, free: 11.22 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/1.483, allocations: 263.4 kB / 1.515 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/1.485, allocations: 438.8 kB / 1.515 GB, free: 10.54 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/1.488, allocations: 1.98 MB / 1.517 GB, free: 8.512 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008312/1.489, allocations: 1.118 MB / 1.518 GB, free: 7.367 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008261/1.49, allocations: 263 kB / 1.518 GB, free: 7.105 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/1.49, allocations: 63.44 kB / 1.518 GB, free: 7.043 MB / 1.201 GB Notification: Performance of SimCode: time 9.62e-07/1.49, allocations: 7.938 kB / 1.518 GB, free: 7.035 MB / 1.201 GB Notification: Performance of Templates: time 0.0328/1.523, allocations: 15.89 MB / 1.534 GB, free: 7.367 MB / 1.217 GB " [Timeout remaining time 298] 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/jenkins/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: 10.440418002195656]