Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.0008704/0.0008704, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.002044, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007537/0.0007537, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000977/0.001731, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9155/0.9155, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08141/0.9969, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.848/1.848, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.476/2.324, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 3.938 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.223e-05, allocations: 6.312 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003556/0.003588, allocations: 2.734 MB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.004974, allocations: 1.107 MB / 0.7334 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.005101, allocations: 4 kB / 0.7334 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.005524, allocations: 203.4 kB / 0.7336 GB, free: 408 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.005645, allocations: 96.27 kB / 0.7337 GB, free: 316 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.005965, allocations: 176.3 kB / 0.7339 GB, free: 140 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.006287, allocations: 412.2 kB / 0.7343 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.006498, allocations: 149.2 kB / 0.7344 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.006754, allocations: 316.3 kB / 0.7347 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.006869, allocations: 116.1 kB / 0.7348 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.006907, allocations: 36.88 kB / 0.7349 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.007151, allocations: 175.8 kB / 0.735 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.007304, allocations: 239.2 kB / 0.7353 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.007407, allocations: 148.7 kB / 0.7354 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.00785, allocations: 0.556 MB / 0.7359 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.007863, allocations: 4 kB / 0.736 GB, free: 14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/0.007865, allocations: 0.8125 kB / 0.736 GB, free: 14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.007878, allocations: 0 / 0.736 GB, free: 14 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0009383/0.008817, allocations: 1.152 MB / 0.7371 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.008849, allocations: 8.75 kB / 0.7371 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004998/0.009349, allocations: 260.9 kB / 0.7373 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.009705, allocations: 433.9 kB / 0.7377 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.009727, allocations: 30.17 kB / 0.7378 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.009757, allocations: 32.31 kB / 0.7378 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.01006, allocations: 262.1 kB / 0.7381 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.01006, allocations: 192 / 0.7381 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.01008, allocations: 16.38 kB / 0.7381 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.01009, allocations: 8.906 kB / 0.7381 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.01021, allocations: 94.14 kB / 0.7382 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.01145, allocations: 0.8627 MB / 0.739 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.01167, allocations: 156.8 kB / 0.7392 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.01171, allocations: 42.12 kB / 0.7392 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.01174, allocations: 4.656 kB / 0.7392 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.01176, allocations: 34.56 kB / 0.7392 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.01176, allocations: 0.5938 kB / 0.7392 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002302/0.01199, allocations: 154.4 kB / 0.7394 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.01201, allocations: 55.41 kB / 0.7394 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.01255, allocations: 0.8194 MB / 0.7402 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01257, allocations: 34.39 kB / 0.7403 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.0127, allocations: 274.2 kB / 0.7405 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.01274, allocations: 79.95 kB / 0.7406 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.01279, allocations: 53.62 kB / 0.7407 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.01287, allocations: 322.6 kB / 0.741 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.01291, allocations: 28.34 kB / 0.741 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.01297, allocations: 73.11 kB / 0.7411 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.01309, allocations: 130.5 kB / 0.7412 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.0131, allocations: 4 kB / 0.7412 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002213/0.01332, allocations: 179.8 kB / 0.7414 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01333, allocations: 4 kB / 0.7414 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01334, allocations: 0.75 kB / 0.7414 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.01335, allocations: 4 kB / 0.7414 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.01351, allocations: 70.31 kB / 0.7414 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01351, allocations: 3.984 kB / 0.7414 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/0.01361, allocations: 27.83 kB / 0.7415 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.01362, allocations: 10.75 kB / 0.7415 GB, free: 8.129 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001066/0.01373, allocations: 128.5 kB / 0.7416 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.01378, allocations: 47.94 kB / 0.7417 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.01401, allocations: 186 kB / 0.7418 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01401, allocations: 0.625 kB / 0.7418 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01401, allocations: 0 / 0.7418 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01401, allocations: 4.844 kB / 0.7418 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.01453, allocations: 0.58 MB / 0.7424 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01453, allocations: 0 / 0.7424 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01464, allocations: 53.83 kB / 0.7425 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.01474, allocations: 99.34 kB / 0.7425 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01475, allocations: 4 kB / 0.7425 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01476, allocations: 9.094 kB / 0.7426 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01476, allocations: 4 kB / 0.7426 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01477, allocations: 3.938 kB / 0.7426 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.01497, allocations: 323.7 kB / 0.7429 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.015, allocations: 11.98 kB / 0.7429 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.0151, allocations: 9.094 kB / 0.7429 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.01514, allocations: 23.84 kB / 0.7429 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.01515, allocations: 8 kB / 0.7429 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002993/0.01545, allocations: 440.8 kB / 0.7433 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01545, allocations: 0.9062 kB / 0.7433 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002291/0.01568, allocations: 107.8 kB / 0.7434 GB, free: 6.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001346/0.01581, allocations: 109.6 kB / 0.7436 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.01597, allocations: 111.4 kB / 0.7437 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.01598, allocations: 8 kB / 0.7437 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.149e-05/0.01607, allocations: 70.86 kB / 0.7437 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.01644, allocations: 341.2 kB / 0.7441 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.01886, allocations: 1.225 MB / 0.7453 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.01898, allocations: 193.8 kB / 0.7454 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.01913, allocations: 80.75 kB / 0.7455 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.01927, allocations: 115.4 kB / 0.7456 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.01927, allocations: 0 / 0.7456 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of Templates: time 0.009366/0.02864, allocations: 5.87 MB / 0.7514 GB, free: 14 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.766282233409584]