Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.001794/0.001794, allocations: 101.9 kB / 16.45 MB, free: 6.449 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.002129/0.002129, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.489/1.489, allocations: 230.5 MB / 252.8 MB, free: 9.129 MB / 206.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 3.336/3.336, allocations: 0.49 GB / 0.7915 GB, free: 33.34 MB / 0.6231 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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") [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.002046/0.002046, allocations: 70.88 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3953, allocations: 176.1 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.3116/0.7069, allocations: 241.6 MB / 1.557 GB, free: 304 kB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02879/0.7357, allocations: 15.85 MB / 1.573 GB, free: 416 kB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003392/0.7391, allocations: 87.25 kB / 1.573 GB, free: 328 kB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.7427, allocations: 1.076 MB / 1.574 GB, free: 15.24 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.7527, allocations: 3.092 MB / 1.577 GB, free: 12.13 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.005661/0.7584, allocations: 1.693 MB / 1.578 GB, free: 10.45 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.0067/0.7651, allocations: 3.426 MB / 1.582 GB, free: 7.016 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.7676, allocations: 1.072 MB / 1.583 GB, free: 5.91 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008522/0.7762, allocations: 2.842 MB / 1.586 GB, free: 3.07 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.7791, allocations: 1.13 MB / 1.587 GB, free: 1.945 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004932/0.7796, allocations: 119.9 kB / 1.587 GB, free: 1.828 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007429/0.787, allocations: 3.238 MB / 1.59 GB, free: 14.58 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.7881, allocations: 490.2 kB / 1.59 GB, free: 14.1 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.7901, allocations: 0.8123 MB / 1.591 GB, free: 13.29 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.00851/0.7986, allocations: 2.986 MB / 1.594 GB, free: 10.29 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.7986, allocations: 0 / 1.594 GB, free: 10.29 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.534e-06/0.7986, allocations: 4 kB / 1.594 GB, free: 10.29 MB / 1.295 GB Notification: Performance of Transformations before backend: time 8.918e-05/0.7987, allocations: 0 / 1.594 GB, free: 10.29 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005873/0.8046, allocations: 2.072 MB / 1.596 GB, free: 8.152 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.8046, allocations: 11.98 kB / 1.596 GB, free: 8.141 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/0.8081, allocations: 0.5102 MB / 1.597 GB, free: 7.629 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.8114, allocations: 1.193 MB / 1.598 GB, free: 6.383 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.8115, allocations: 77.94 kB / 1.598 GB, free: 6.305 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.8118, allocations: 104 kB / 1.598 GB, free: 6.203 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/0.8151, allocations: 1.35 MB / 1.599 GB, free: 4.734 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.8151, allocations: 7.938 kB / 1.599 GB, free: 4.727 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.8153, allocations: 40 kB / 1.599 GB, free: 4.688 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/0.8153, allocations: 49.98 kB / 1.599 GB, free: 4.637 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.8182, allocations: 1.046 MB / 1.6 GB, free: 3.59 MB / 1.295 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.7721/1.59, allocations: 7.468 MB / 1.608 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/1.592, allocations: 0.5212 MB / 1.608 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007411/1.593, allocations: 249.4 kB / 1.609 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/1.593, allocations: 282.7 kB / 1.609 GB, free: 279.8 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/1.593, allocations: 41.41 kB / 1.609 GB, free: 279.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/1.593, allocations: 0.9688 kB / 1.609 GB, free: 279.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=33): time 0.002939/1.596, allocations: 0.8455 MB / 1.61 GB, free: 279.6 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/1.596, allocations: 59.53 kB / 1.61 GB, free: 279.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/1.599, allocations: 1.405 MB / 1.611 GB, free: 279 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.599, allocations: 32.45 kB / 1.611 GB, free: 279 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/1.599, allocations: 0.7181 MB / 1.612 GB, free: 278.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/1.599, allocations: 131.4 kB / 1.612 GB, free: 278.4 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/1.6, allocations: 162.8 kB / 1.612 GB, free: 278.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/1.6, allocations: 333.6 kB / 1.612 GB, free: 278 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008779/1.601, allocations: 315.7 kB / 1.613 GB, free: 277.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.602, allocations: 0.6891 MB / 1.613 GB, free: 277.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/1.603, allocations: 0.9249 MB / 1.614 GB, free: 276.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/1.603, allocations: 4.75 kB / 1.614 GB, free: 276.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002624/1.606, allocations: 1.062 MB / 1.615 GB, free: 276.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/1.606, allocations: 11.2 kB / 1.615 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.606, allocations: 15.47 kB / 1.615 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/1.606, allocations: 15.62 kB / 1.615 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/1.607, allocations: 201.8 kB / 1.616 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-05/1.607, allocations: 28.91 kB / 1.616 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.608, allocations: 182.9 kB / 1.616 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/1.609, allocations: 46.22 kB / 1.616 GB, free: 276.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001262/1.61, allocations: 0.5657 MB / 1.616 GB, free: 276 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001153/1.611, allocations: 0.6835 MB / 1.617 GB, free: 275.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002016/1.613, allocations: 0.929 MB / 1.618 GB, free: 274.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.187e-05/1.613, allocations: 3.281 kB / 1.618 GB, free: 274.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003577/1.617, allocations: 1.054 MB / 1.619 GB, free: 274.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/1.617, allocations: 10.23 kB / 1.619 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/1.617, allocations: 12 kB / 1.619 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.554e-05/1.617, allocations: 16.12 kB / 1.619 GB, free: 274.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009951/1.618, allocations: 206.8 kB / 1.619 GB, free: 274.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-05/1.618, allocations: 26.45 kB / 1.619 GB, free: 274.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/1.619, allocations: 134.5 kB / 1.619 GB, free: 274.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.619, allocations: 49.77 kB / 1.619 GB, free: 274.4 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0003155/1.62, allocations: 233.7 kB / 1.62 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/1.62, allocations: 150.4 kB / 1.62 GB, free: 274.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/1.622, allocations: 0.6394 MB / 1.62 GB, free: 273.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.622, allocations: 3 kB / 1.62 GB, free: 273.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.622, allocations: 0.5312 kB / 1.62 GB, free: 273.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.622, allocations: 10.41 kB / 1.62 GB, free: 273.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/1.626, allocations: 1.895 MB / 1.622 GB, free: 272.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.626, allocations: 3.75 kB / 1.622 GB, free: 272.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/1.627, allocations: 95.88 kB / 1.622 GB, free: 272.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/1.627, allocations: 6.125 kB / 1.622 GB, free: 272.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/1.627, allocations: 13.03 kB / 1.622 GB, free: 272.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/1.627, allocations: 6.016 kB / 1.622 GB, free: 272.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.627, allocations: 5 kB / 1.622 GB, free: 272.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/1.628, allocations: 0.8187 MB / 1.623 GB, free: 272.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/1.629, allocations: 309.1 kB / 1.623 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/1.629, allocations: 12.41 kB / 1.623 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.63, allocations: 67.7 kB / 1.624 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/1.63, allocations: 33.2 kB / 1.624 GB, free: 272.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/1.63, allocations: 27.47 kB / 1.624 GB, free: 272.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001537/1.632, allocations: 1.007 MB / 1.625 GB, free: 271.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.632, allocations: 1.188 kB / 1.625 GB, free: 271.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001908/1.633, allocations: 0.5797 MB / 1.625 GB, free: 271.8 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0004447/1.634, allocations: 257.1 kB / 1.625 GB, free: 271.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002997/1.637, allocations: 1.089 MB / 1.626 GB, free: 271.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.637, allocations: 1.094 kB / 1.626 GB, free: 271.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006942/1.638, allocations: 251.4 kB / 1.627 GB, free: 271.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/1.641, allocations: 0.7448 MB / 1.627 GB, free: 271 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/1.646, allocations: 2.295 MB / 1.63 GB, free: 269.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/1.647, allocations: 1.183 MB / 1.631 GB, free: 269.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001831/1.649, allocations: 388.9 kB / 1.631 GB, free: 269 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/1.649, allocations: 94.97 kB / 1.631 GB, free: 269 MB / 1.295 GB Notification: Performance of SimCode: time 1.914e-06/1.649, allocations: 0 / 1.631 GB, free: 269 MB / 1.295 GB Notification: Performance of Templates: time 0.04119/1.69, allocations: 25.41 MB / 1.656 GB, free: 253.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.975586561951786]