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.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.001805/0.001805, allocations: 79.86 kB / 19.18 MB, free: 2.531 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.002241/0.002241, allocations: 163.5 kB / 22.46 MB, free: 5.359 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.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.911/2.911, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.05e-05, allocations: 6.219 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9781/0.9782, allocations: 172.5 MB / 1.169 GB, free: 44.94 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.9929, allocations: 13.08 MB / 1.181 GB, free: 44.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.9945, allocations: 49.34 kB / 1.181 GB, free: 44.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.9961, allocations: 0.503 MB / 1.182 GB, free: 44.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005513/1.002, allocations: 1.983 MB / 1.184 GB, free: 44.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/1.004, allocations: 0.9265 MB / 1.185 GB, free: 44.32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003841/1.008, allocations: 2.598 MB / 1.187 GB, free: 43.87 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/1.009, allocations: 0.7593 MB / 1.188 GB, free: 43.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006417/1.016, allocations: 2.196 MB / 1.19 GB, free: 43.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/1.018, allocations: 0.8696 MB / 1.191 GB, free: 43.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002717/1.018, allocations: 106.8 kB / 1.191 GB, free: 43.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/1.021, allocations: 0.9375 MB / 1.192 GB, free: 43.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008225/1.022, allocations: 0.531 MB / 1.193 GB, free: 43.32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009574/1.023, allocations: 460 kB / 1.193 GB, free: 43.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004124/1.027, allocations: 1.94 MB / 1.195 GB, free: 43.1 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.027, allocations: 2.344 kB / 1.195 GB, free: 43.1 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/1.027, allocations: 2.625 kB / 1.195 GB, free: 43.1 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.22e-05/1.027, allocations: 0 / 1.195 GB, free: 43.1 MB / 1.076 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.002965/1.03, allocations: 1.398 MB / 1.196 GB, free: 42.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.03, allocations: 9.656 kB / 1.196 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/1.032, allocations: 257 kB / 1.197 GB, free: 42.31 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.033, allocations: 0.727 MB / 1.197 GB, free: 42.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/1.033, allocations: 71.94 kB / 1.197 GB, free: 42.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/1.034, allocations: 97.59 kB / 1.197 GB, free: 42.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/1.036, allocations: 1.296 MB / 1.199 GB, free: 41.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.036, allocations: 5.047 kB / 1.199 GB, free: 41.66 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/1.036, allocations: 41.19 kB / 1.199 GB, free: 41.65 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/1.036, allocations: 32.98 kB / 1.199 GB, free: 41.64 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/1.038, allocations: 0.8999 MB / 1.2 GB, free: 41.36 MB / 1.076 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.005278/1.043, allocations: 3.987 MB / 1.204 GB, free: 38.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009214/1.044, allocations: 0.5112 MB / 1.204 GB, free: 38.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/1.044, allocations: 294.3 kB / 1.204 GB, free: 38.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/1.045, allocations: 82.97 kB / 1.204 GB, free: 38.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.045, allocations: 47.86 kB / 1.204 GB, free: 38.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=49): time 2.395e-06/1.045, allocations: 0 / 1.204 GB, free: 38.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.001802/1.047, allocations: 0.8027 MB / 1.205 GB, free: 37.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/1.047, allocations: 56.81 kB / 1.205 GB, free: 37.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/1.047, allocations: 0.6595 MB / 1.206 GB, free: 37.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/1.047, allocations: 37.55 kB / 1.206 GB, free: 37.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/1.048, allocations: 0.5165 MB / 1.206 GB, free: 37.19 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/1.048, allocations: 184.7 kB / 1.207 GB, free: 37.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/1.048, allocations: 143 kB / 1.207 GB, free: 36.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.048, allocations: 382.7 kB / 1.207 GB, free: 36.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/1.049, allocations: 250.5 kB / 1.207 GB, free: 36.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/1.049, allocations: 0.834 MB / 1.208 GB, free: 35.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009959/1.05, allocations: 0.7982 MB / 1.209 GB, free: 35.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.05, allocations: 2.375 kB / 1.209 GB, free: 35.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001426/1.052, allocations: 0.8416 MB / 1.21 GB, free: 34.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.052, allocations: 9.844 kB / 1.21 GB, free: 34.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.052, allocations: 14.47 kB / 1.21 GB, free: 34.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/1.052, allocations: 12.91 kB / 1.21 GB, free: 34.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/1.052, allocations: 151.4 kB / 1.21 GB, free: 34.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/1.052, allocations: 17.08 kB / 1.21 GB, free: 34.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/1.053, allocations: 79.66 kB / 1.21 GB, free: 34.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/1.053, allocations: 37.03 kB / 1.21 GB, free: 34.88 MB / 1.076 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.0006072/1.054, allocations: 331.1 kB / 1.21 GB, free: 34.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/1.054, allocations: 79.12 kB / 1.21 GB, free: 34.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/1.055, allocations: 0.6194 MB / 1.211 GB, free: 34.37 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.055, allocations: 5.312 kB / 1.211 GB, free: 34.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.055, allocations: 2.484 kB / 1.211 GB, free: 34.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007706/1.056, allocations: 0.5168 MB / 1.212 GB, free: 34.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/1.059, allocations: 1.457 MB / 1.213 GB, free: 33.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.059, allocations: 3.797 kB / 1.213 GB, free: 33.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/1.059, allocations: 108 kB / 1.213 GB, free: 33.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.059, allocations: 6.078 kB / 1.213 GB, free: 33.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/1.059, allocations: 10.97 kB / 1.213 GB, free: 33.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/1.059, allocations: 8.562 kB / 1.213 GB, free: 33.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.059, allocations: 2.5 kB / 1.213 GB, free: 33.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/1.061, allocations: 1.018 MB / 1.214 GB, free: 32.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/1.061, allocations: 138 kB / 1.214 GB, free: 32.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.061, allocations: 11.28 kB / 1.214 GB, free: 32.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/1.061, allocations: 17.95 kB / 1.214 GB, free: 32.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/1.062, allocations: 40.97 kB / 1.214 GB, free: 32.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/1.062, allocations: 22.8 kB / 1.214 GB, free: 32.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006186/1.062, allocations: 448.7 kB / 1.215 GB, free: 32.62 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.062, allocations: 0 / 1.215 GB, free: 32.62 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001186/1.063, allocations: 312.2 kB / 1.215 GB, free: 32.55 MB / 1.076 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.0005498/1.064, allocations: 189.6 kB / 1.215 GB, free: 32.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009869/1.065, allocations: 0.5912 MB / 1.216 GB, free: 32.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.065, allocations: 3.188 kB / 1.216 GB, free: 32.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/1.065, allocations: 263.2 kB / 1.216 GB, free: 32.2 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/1.067, allocations: 360.2 kB / 1.216 GB, free: 32.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/1.07, allocations: 1.825 MB / 1.218 GB, free: 31.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/1.071, allocations: 0.5268 MB / 1.219 GB, free: 31.01 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000857/1.072, allocations: 259.8 kB / 1.219 GB, free: 30.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/1.072, allocations: 69.7 kB / 1.219 GB, free: 30.95 MB / 1.076 GB Notification: Performance of SimCode: time 1.302e-06/1.072, allocations: 0 / 1.219 GB, free: 30.95 MB / 1.076 GB Notification: Performance of Templates: time 0.02879/1.101, allocations: 14.17 MB / 1.233 GB, free: 29.35 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.816449649631977]