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.001625/0.001625, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002046/0.002046, allocations: 210.6 kB / 23 MB, free: 4.934 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.099/3.099, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.002072/0.002072, allocations: 71.64 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3054, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.255/0.5603, allocations: 211.1 MB / 1.533 GB, free: 13.11 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02279/0.5831, allocations: 14.61 MB / 1.547 GB, free: 14.46 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.5854, allocations: 87.25 kB / 1.548 GB, free: 14.37 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002896/0.5882, allocations: 1.006 MB / 1.549 GB, free: 13.36 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008926/0.5972, allocations: 3.098 MB / 1.552 GB, free: 10.25 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004824/0.602, allocations: 1.714 MB / 1.553 GB, free: 8.543 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00534/0.6073, allocations: 3.474 MB / 1.557 GB, free: 5.059 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.6091, allocations: 1.007 MB / 1.558 GB, free: 4.012 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006907/0.616, allocations: 2.873 MB / 1.56 GB, free: 1.141 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.6183, allocations: 1.142 MB / 1.562 GB, free: 8 kB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.6185, allocations: 116 kB / 1.562 GB, free: 15.89 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004926/0.6234, allocations: 2.587 MB / 1.564 GB, free: 13.3 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.000561/0.624, allocations: 490.2 kB / 1.565 GB, free: 12.82 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0008678/0.6248, allocations: 0.6492 MB / 1.565 GB, free: 12.17 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004999/0.6298, allocations: 2.931 MB / 1.568 GB, free: 9.227 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6298, allocations: 0 / 1.568 GB, free: 9.227 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6298, allocations: 0 / 1.568 GB, free: 9.227 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.188e-05/0.6299, allocations: 0 / 1.568 GB, free: 9.227 MB / 1.264 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.00388/0.6337, allocations: 1.985 MB / 1.57 GB, free: 7.199 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.6338, allocations: 16.03 kB / 1.57 GB, free: 7.184 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/0.6368, allocations: 0.5063 MB / 1.571 GB, free: 6.676 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.6395, allocations: 1.117 MB / 1.572 GB, free: 5.512 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.6395, allocations: 78 kB / 1.572 GB, free: 5.434 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.6397, allocations: 96 kB / 1.572 GB, free: 5.34 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.6423, allocations: 1.451 MB / 1.573 GB, free: 3.746 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.6424, allocations: 7.938 kB / 1.573 GB, free: 3.738 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.6425, allocations: 44 kB / 1.573 GB, free: 3.695 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-05/0.6425, allocations: 45.98 kB / 1.573 GB, free: 3.648 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.645, allocations: 1.05 MB / 1.574 GB, free: 2.598 MB / 1.264 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.007909/0.6529, allocations: 5.791 MB / 1.58 GB, free: 12.6 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.6546, allocations: 0.5326 MB / 1.581 GB, free: 12.06 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000635/0.6552, allocations: 245.2 kB / 1.581 GB, free: 11.82 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.6555, allocations: 52.25 kB / 1.581 GB, free: 11.77 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.6555, allocations: 38.78 kB / 1.581 GB, free: 11.72 MB / 1.279 GB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/0.6555, allocations: 0 / 1.581 GB, free: 11.72 MB / 1.279 GB Notification: Performance of matching and sorting (n=33): time 0.002427/0.658, allocations: 0.826 MB / 1.582 GB, free: 10.89 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.658, allocations: 55.41 kB / 1.582 GB, free: 10.82 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.6596, allocations: 1.124 MB / 1.583 GB, free: 9.688 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.6597, allocations: 37.7 kB / 1.583 GB, free: 9.645 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006169/0.6603, allocations: 0.7375 MB / 1.584 GB, free: 8.898 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.6604, allocations: 134.9 kB / 1.584 GB, free: 8.766 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.6607, allocations: 162.5 kB / 1.584 GB, free: 8.602 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6608, allocations: 330 kB / 1.584 GB, free: 8.273 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008414/0.6617, allocations: 320.6 kB / 1.585 GB, free: 7.957 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.663, allocations: 0.9611 MB / 1.585 GB, free: 6.754 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.6649, allocations: 0.9254 MB / 1.586 GB, free: 5.668 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.6649, allocations: 4 kB / 1.586 GB, free: 5.664 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002581/0.6675, allocations: 1.035 MB / 1.587 GB, free: 4.621 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.6675, allocations: 15.94 kB / 1.587 GB, free: 4.605 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6675, allocations: 8.844 kB / 1.587 GB, free: 4.598 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.6675, allocations: 16 kB / 1.587 GB, free: 4.582 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/0.6684, allocations: 207.6 kB / 1.588 GB, free: 4.379 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/0.6684, allocations: 19.94 kB / 1.588 GB, free: 4.359 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.6697, allocations: 149.8 kB / 1.588 GB, free: 4.215 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.6698, allocations: 48 kB / 1.588 GB, free: 4.168 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001321/0.6711, allocations: 0.5643 MB / 1.588 GB, free: 3.602 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001307/0.6724, allocations: 0.9611 MB / 1.589 GB, free: 2.398 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00182/0.6742, allocations: 0.9294 MB / 1.59 GB, free: 1.309 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.294e-06/0.6742, allocations: 4 kB / 1.59 GB, free: 1.305 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002498/0.6767, allocations: 1.028 MB / 1.591 GB, free: 276 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6767, allocations: 11.94 kB / 1.591 GB, free: 264 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.6768, allocations: 16.09 kB / 1.591 GB, free: 248 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.6768, allocations: 20.03 kB / 1.591 GB, free: 228 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.6777, allocations: 207.7 kB / 1.591 GB, free: 20 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.682e-05/0.6777, allocations: 27.92 kB / 1.591 GB, free: 15.99 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.6789, allocations: 135.5 kB / 1.592 GB, free: 15.86 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.679, allocations: 40 kB / 1.592 GB, free: 15.82 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.0002681/0.6793, allocations: 235.9 kB / 1.592 GB, free: 15.58 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.6795, allocations: 127.1 kB / 1.592 GB, free: 15.46 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.6812, allocations: 0.6302 MB / 1.593 GB, free: 14.81 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6812, allocations: 0 / 1.593 GB, free: 14.81 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6812, allocations: 0 / 1.593 GB, free: 14.81 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.6817, allocations: 175 kB / 1.593 GB, free: 14.64 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.6818, allocations: 15.92 kB / 1.593 GB, free: 14.62 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008879/0.6827, allocations: 55.94 kB / 1.593 GB, free: 14.57 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.6828, allocations: 23.95 kB / 1.593 GB, free: 14.55 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001651/0.6844, allocations: 0.5787 MB / 1.593 GB, free: 13.96 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001521/0.6859, allocations: 0.7587 MB / 1.594 GB, free: 13.19 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006043/0.6865, allocations: 211.8 kB / 1.594 GB, free: 12.98 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001161/0.6877, allocations: 0.7502 MB / 1.595 GB, free: 12.23 MB / 1.295 GB Notification: Performance of Backend: time 2.9e-07/0.6877, allocations: 0 / 1.595 GB, free: 12.23 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004208/0.6919, allocations: 1.532 MB / 1.597 GB, free: 10.69 MB / 1.295 GB Notification: Performance of SimCode: time 0.004461/0.6964, allocations: 2.684 MB / 1.599 GB, free: 7.957 MB / 1.295 GB Notification: Performance of Templates: time 0.6692/1.366, allocations: 30.76 MB / 1.629 GB, free: 275.1 MB / 1.295 GB " [Timeout remaining time 299] 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/jenkins1/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.475988530000905]