Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001356/0.001356, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.001508/0.001508, allocations: 159 kB / 23.01 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: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.813/2.813, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002394/0.002394, allocations: 62.09 kB / 0.982 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2458/1.354, allocations: 172.7 MB / 1.323 GB, free: 11.19 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02253/1.376, allocations: 13.16 MB / 1.335 GB, free: 14.8 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/1.378, allocations: 51.56 kB / 1.336 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/1.38, allocations: 0.4929 MB / 1.336 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006246/1.386, allocations: 1.949 MB / 1.338 GB, free: 12.3 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/1.389, allocations: 0.8877 MB / 1.339 GB, free: 11.41 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004197/1.393, allocations: 2.6 MB / 1.341 GB, free: 8.805 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/1.395, allocations: 0.7912 MB / 1.342 GB, free: 7.988 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/1.402, allocations: 1.892 MB / 1.344 GB, free: 6.105 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/1.405, allocations: 0.9455 MB / 1.345 GB, free: 5.16 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/1.405, allocations: 104 kB / 1.345 GB, free: 5.059 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/1.408, allocations: 0.9157 MB / 1.346 GB, free: 4.141 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006838/1.409, allocations: 0.5103 MB / 1.346 GB, free: 3.629 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008549/1.41, allocations: 0.5213 MB / 1.347 GB, free: 3.105 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/1.414, allocations: 1.9 MB / 1.349 GB, free: 1.199 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.414, allocations: 3.938 kB / 1.349 GB, free: 1.195 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.553e-06/1.414, allocations: 4 kB / 1.349 GB, free: 1.191 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.028e-05/1.414, allocations: 0 / 1.349 GB, free: 1.191 MB / 1.186 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.002655/1.416, allocations: 1.407 MB / 1.35 GB, free: 15.75 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.416, allocations: 12.03 kB / 1.35 GB, free: 15.74 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/1.418, allocations: 259 kB / 1.35 GB, free: 15.48 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/1.419, allocations: 0.737 MB / 1.351 GB, free: 14.72 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/1.419, allocations: 70 kB / 1.351 GB, free: 14.65 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/1.419, allocations: 92 kB / 1.351 GB, free: 14.56 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/1.421, allocations: 1.298 MB / 1.352 GB, free: 13.16 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/1.421, allocations: 0 / 1.352 GB, free: 13.16 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-05/1.422, allocations: 39.94 kB / 1.353 GB, free: 13.12 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/1.422, allocations: 34 kB / 1.353 GB, free: 13.09 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/1.423, allocations: 0.9054 MB / 1.353 GB, free: 12.18 MB / 1.201 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.006287/1.429, allocations: 3.998 MB / 1.357 GB, free: 8.059 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/1.431, allocations: 0.5127 MB / 1.358 GB, free: 7.539 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/1.431, allocations: 298.7 kB / 1.358 GB, free: 7.242 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004965/1.432, allocations: 84.41 kB / 1.358 GB, free: 7.16 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/1.432, allocations: 35.06 kB / 1.358 GB, free: 7.113 MB / 1.201 GB Notification: Performance of pre-optimization done (n=49): time 2.855e-06/1.432, allocations: 0 / 1.358 GB, free: 7.113 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.00168/1.433, allocations: 0.7972 MB / 1.359 GB, free: 6.316 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.433, allocations: 55.91 kB / 1.359 GB, free: 6.25 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/1.434, allocations: 0.6644 MB / 1.36 GB, free: 5.582 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/1.434, allocations: 37.7 kB / 1.36 GB, free: 5.539 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005582/1.435, allocations: 0.5194 MB / 1.36 GB, free: 5.012 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/1.435, allocations: 186.4 kB / 1.36 GB, free: 4.828 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/1.435, allocations: 142.6 kB / 1.361 GB, free: 4.684 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002613/1.436, allocations: 390.7 kB / 1.361 GB, free: 4.293 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/1.436, allocations: 261.7 kB / 1.361 GB, free: 4.039 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/1.437, allocations: 0.8269 MB / 1.362 GB, free: 3.008 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/1.438, allocations: 0.7967 MB / 1.363 GB, free: 2.105 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/1.438, allocations: 4 kB / 1.363 GB, free: 2.102 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00151/1.44, allocations: 0.8408 MB / 1.364 GB, free: 1.25 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.44, allocations: 22.5 kB / 1.364 GB, free: 1.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.44, allocations: 8 kB / 1.364 GB, free: 1.223 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/1.44, allocations: 15.98 kB / 1.364 GB, free: 1.207 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/1.441, allocations: 147.8 kB / 1.364 GB, free: 1.062 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/1.441, allocations: 15.94 kB / 1.364 GB, free: 1.047 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/1.441, allocations: 75.5 kB / 1.364 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.441, allocations: 35.98 kB / 1.364 GB, free: 0.9375 MB / 1.201 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.0005374/1.442, allocations: 330.1 kB / 1.364 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/1.442, allocations: 91.47 kB / 1.364 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/1.443, allocations: 0.6147 MB / 1.365 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.443, allocations: 4 kB / 1.365 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.443, allocations: 0 / 1.365 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/1.444, allocations: 0.5187 MB / 1.365 GB, free: 15.36 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/1.447, allocations: 1.448 MB / 1.367 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.447, allocations: 3.984 kB / 1.367 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/1.448, allocations: 103.9 kB / 1.367 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/1.448, allocations: 4 kB / 1.367 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/1.448, allocations: 19.92 kB / 1.367 GB, free: 13.72 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.448, allocations: 4 kB / 1.367 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/1.448, allocations: 7.938 kB / 1.367 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/1.449, allocations: 1.014 MB / 1.368 GB, free: 12.66 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/1.45, allocations: 139.5 kB / 1.368 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.45, allocations: 19.94 kB / 1.368 GB, free: 12.5 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/1.45, allocations: 20.06 kB / 1.368 GB, free: 12.48 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/1.451, allocations: 43.86 kB / 1.368 GB, free: 12.44 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/1.451, allocations: 20 kB / 1.368 GB, free: 12.42 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006368/1.451, allocations: 447 kB / 1.369 GB, free: 11.99 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.451, allocations: 0 / 1.369 GB, free: 11.99 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001088/1.452, allocations: 311.3 kB / 1.369 GB, free: 11.68 MB / 1.217 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.0005567/1.453, allocations: 184 kB / 1.369 GB, free: 11.5 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001216/1.454, allocations: 0.5878 MB / 1.37 GB, free: 10.91 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.454, allocations: 4 kB / 1.37 GB, free: 10.91 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000411/1.454, allocations: 257.4 kB / 1.37 GB, free: 10.66 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/1.456, allocations: 385.4 kB / 1.37 GB, free: 10.29 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/1.46, allocations: 1.943 MB / 1.372 GB, free: 8.297 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009217/1.461, allocations: 0.5235 MB / 1.373 GB, free: 7.742 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009873/1.462, allocations: 258.5 kB / 1.373 GB, free: 7.484 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.462, allocations: 68.48 kB / 1.373 GB, free: 7.414 MB / 1.217 GB Notification: Performance of SimCode: time 1.002e-06/1.462, allocations: 0 / 1.373 GB, free: 7.414 MB / 1.217 GB Notification: Performance of Templates: time 0.03171/1.494, allocations: 14.47 MB / 1.387 GB, free: 9.336 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.94519370701164]