Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.6 MB / 249.9 MB, free: 13.59 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.69/2.69, allocations: 476.7 MB / 0.7634 GB, free: 10.91 MB / 0.6231 GB [Timeout remaining time 87] 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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 1.108 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8434/0.8453, allocations: 168.7 MB / 1.272 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001678/0.847, allocations: 0.5313 MB / 1.273 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001328/0.8471, allocations: 23.89 kB / 1.273 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.8471, allocations: 4 kB / 1.273 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.8472, allocations: 0 / 1.273 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.8473, allocations: 3.938 kB / 1.273 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.097e-06/0.8473, allocations: 0 / 1.273 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.8474, allocations: 4 kB / 1.273 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.8474, allocations: 0 / 1.273 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.8475, allocations: 0 / 1.273 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.8475, allocations: 4 kB / 1.273 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.8475, allocations: 4 kB / 1.273 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-06/0.8475, allocations: 0 / 1.273 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.8475, allocations: 7.922 kB / 1.273 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.8476, allocations: 7.875 kB / 1.273 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.451e-05/0.8476, allocations: 7.984 kB / 1.273 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8476, allocations: 0 / 1.273 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8476, allocations: 0 / 1.273 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.8476, allocations: 0 / 1.273 GB, free: 4.203 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003615/0.848, allocations: 320 kB / 1.273 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.848, allocations: 8.031 kB / 1.273 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.8481, allocations: 8.922 kB / 1.273 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.8482, allocations: 164.4 kB / 1.273 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.8482, allocations: 384 / 1.273 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-06/0.8482, allocations: 384 / 1.273 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.8483, allocations: 43.98 kB / 1.273 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.8483, allocations: 192 / 1.273 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.8484, allocations: 7.875 kB / 1.273 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.8484, allocations: 0 / 1.273 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.8484, allocations: 11.98 kB / 1.273 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.8486, allocations: 158.5 kB / 1.274 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.862e-05/0.8486, allocations: 33.09 kB / 1.274 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.8486, allocations: 13.84 kB / 1.274 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.8487, allocations: 3.984 kB / 1.274 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.8487, allocations: 38.56 kB / 1.274 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8487, allocations: 0 / 1.274 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.8488, allocations: 45.58 kB / 1.274 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.8489, allocations: 77.11 kB / 1.274 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.849, allocations: 97.84 kB / 1.274 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.849, allocations: 26.08 kB / 1.274 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.849, allocations: 88.14 kB / 1.274 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.849, allocations: 7.891 kB / 1.274 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.8491, allocations: 9.719 kB / 1.274 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8492, allocations: 318.8 kB / 1.274 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.8492, allocations: 0 / 1.274 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.8492, allocations: 17.66 kB / 1.274 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.8493, allocations: 21.77 kB / 1.274 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.8493, allocations: 0 / 1.274 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.886e-05/0.8493, allocations: 41.64 kB / 1.274 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.8494, allocations: 8 kB / 1.274 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8494, allocations: 3.938 kB / 1.274 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.8494, allocations: 0 / 1.274 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.8494, allocations: 7.984 kB / 1.274 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.8494, allocations: 0 / 1.274 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.8495, allocations: 4.062 kB / 1.274 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.8495, allocations: 3.984 kB / 1.274 GB, free: 2.387 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.32e-05/0.8495, allocations: 114.7 kB / 1.275 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.8496, allocations: 4 kB / 1.275 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.8497, allocations: 52.64 kB / 1.275 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8497, allocations: 4 kB / 1.275 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.8497, allocations: 4 kB / 1.275 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8497, allocations: 4.062 kB / 1.275 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.8498, allocations: 153.7 kB / 1.275 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8498, allocations: 0 / 1.275 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.8498, allocations: 0 / 1.275 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8498, allocations: 4 kB / 1.275 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.8498, allocations: 7.875 kB / 1.275 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8498, allocations: 0 / 1.275 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8498, allocations: 3.938 kB / 1.275 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.243e-05/0.8499, allocations: 73.98 kB / 1.275 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.85, allocations: 77.11 kB / 1.275 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.85, allocations: 3.938 kB / 1.275 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.406e-05/0.85, allocations: 0 / 1.275 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.85, allocations: 11.98 kB / 1.275 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.85, allocations: 0 / 1.275 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.8501, allocations: 75.28 kB / 1.275 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8501, allocations: 128 / 1.275 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001828/0.8502, allocations: 8 kB / 1.275 GB, free: 1.691 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001065/0.8504, allocations: 98.03 kB / 1.275 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.8504, allocations: 7.938 kB / 1.275 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8504, allocations: 0 / 1.275 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.8504, allocations: 8 kB / 1.275 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.8506, allocations: 9.859 kB / 1.275 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.8508, allocations: 119.7 kB / 1.275 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.8511, allocations: 0.6768 MB / 1.276 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.8511, allocations: 7.438 kB / 1.276 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.8511, allocations: 0 / 1.276 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of Templates: time 0.001671/0.8528, allocations: 367.7 kB / 1.276 GB, free: 348 kB / 0.9669 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches