Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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.001357/0.001357, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001564/0.001564, allocations: 201.4 kB / 22.17 MB, free: 5.211 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.42/1.42, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.797/2.797, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8499, allocations: 168.7 MB / 1.274 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001902/0.8518, allocations: 0.5416 MB / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.852, allocations: 43.81 kB / 1.275 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.852, allocations: 3.938 kB / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.852, allocations: 0 / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.8522, allocations: 0 / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.411e-05/0.8522, allocations: 15.92 kB / 1.275 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.8523, allocations: 11.98 kB / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.8524, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.8524, allocations: 4 kB / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.8525, allocations: 15.92 kB / 1.275 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.8525, allocations: 0 / 1.275 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.8525, allocations: 4 kB / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.8526, allocations: 0 / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.8526, allocations: 15.91 kB / 1.275 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.864e-05/0.8527, allocations: 7.938 kB / 1.275 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8527, allocations: 0 / 1.275 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8527, allocations: 0 / 1.275 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8527, allocations: 4 kB / 1.275 GB, free: 3.699 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005566/0.8532, allocations: 346 kB / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.8533, allocations: 8.031 kB / 1.275 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.8533, allocations: 0.9375 kB / 1.275 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.8536, allocations: 176.4 kB / 1.275 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.8536, allocations: 384 / 1.275 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.8536, allocations: 384 / 1.275 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.223e-05/0.8537, allocations: 30.27 kB / 1.275 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.8537, allocations: 4.188 kB / 1.275 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.8537, allocations: 3.938 kB / 1.275 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8537, allocations: 0 / 1.275 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.8537, allocations: 7.984 kB / 1.275 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.854, allocations: 161.6 kB / 1.275 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.927e-05/0.854, allocations: 18.58 kB / 1.275 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.854, allocations: 4.859 kB / 1.275 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.854, allocations: 0 / 1.275 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.8541, allocations: 34.56 kB / 1.275 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.8541, allocations: 4.062 kB / 1.275 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001675/0.8542, allocations: 57.48 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.8543, allocations: 51.41 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.8544, allocations: 109.8 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.8544, allocations: 25.7 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.8545, allocations: 80.14 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.8545, allocations: 8.125 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.8545, allocations: 17.67 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8547, allocations: 314.8 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.8547, allocations: 8 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.8547, allocations: 13.72 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.912e-05/0.8548, allocations: 29.7 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8548, allocations: 0 / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.324e-05/0.8548, allocations: 45.69 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.8549, allocations: 8 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8549, allocations: 3.938 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.8549, allocations: 0 / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.855, allocations: 4 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.855, allocations: 0 / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.855, allocations: 3.938 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.855, allocations: 11.92 kB / 1.276 GB, free: 1.906 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.828e-05/0.8551, allocations: 109.9 kB / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.8551, allocations: 0 / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.8552, allocations: 53.16 kB / 1.276 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8552, allocations: 256 / 1.276 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8552, allocations: 0 / 1.276 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.8552, allocations: 4 kB / 1.276 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.8554, allocations: 165.6 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8554, allocations: 0 / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.8554, allocations: 8.031 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.8554, allocations: 0 / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.8554, allocations: 3.938 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8554, allocations: 0 / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8554, allocations: 3.938 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.8556, allocations: 85.09 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.8556, allocations: 77.11 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.8557, allocations: 3.938 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.139e-05/0.8557, allocations: 4.094 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.8557, allocations: 4 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.8557, allocations: 0 / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.8557, allocations: 91.27 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8557, allocations: 0 / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001869/0.8559, allocations: 4 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0001177/0.8561, allocations: 99.72 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.874e-05/0.8562, allocations: 23.92 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8562, allocations: 0 / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.8562, allocations: 11.98 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.8563, allocations: 5.656 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.8566, allocations: 136.5 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.857, allocations: 0.6806 MB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.857, allocations: 4 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.857, allocations: 7.438 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.857, allocations: 4.188 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of Templates: time 0.002699/0.8597, allocations: 317.1 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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: 8.68922983435914]