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.002015/0.002015, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002589/0.002589, allocations: 220.1 kB / 23.05 MB, free: 4.844 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.156/3.156, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.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: 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.003227/0.003227, allocations: 67.83 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3519, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004241/0.3561, allocations: 2.565 MB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.358, allocations: 1.014 MB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.3582, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.3588, allocations: 198.6 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.359, allocations: 95.23 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.3595, allocations: 175.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004478/0.3599, allocations: 403.8 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.3602, allocations: 154.3 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.3604, allocations: 159.2 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.3606, allocations: 155 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.3607, allocations: 40 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.361, allocations: 171.8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.3612, allocations: 263.1 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.3615, allocations: 258.2 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.3625, allocations: 0.9837 MB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3625, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3625, allocations: 3.938 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.3625, allocations: 4 kB / 1.334 GB, free: 10.31 MB / 1.029 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.001559/0.3641, allocations: 1.083 MB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3641, allocations: 8.031 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.3654, allocations: 240 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.3667, allocations: 0.6711 MB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.3667, allocations: 25.03 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.3668, allocations: 32.36 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/0.3676, allocations: 408.2 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3677, allocations: 7.875 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.3677, allocations: 12 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.3677, allocations: 4 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.3687, allocations: 426.3 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.3718, allocations: 1.405 MB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.3725, allocations: 200.5 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.3728, allocations: 96.77 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.3728, allocations: 11.98 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3728, allocations: 30.56 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.3728, allocations: 0 / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001099/0.3739, allocations: 372.9 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.374, allocations: 63.34 kB / 1.339 GB, free: 5.086 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.3754, allocations: 1.218 MB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.3755, allocations: 33.7 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.3759, allocations: 428.3 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.376, allocations: 63.75 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3761, allocations: 57.64 kB / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3762, allocations: 318 kB / 1.341 GB, free: 2.941 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.3766, allocations: 147.9 kB / 1.341 GB, free: 2.797 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.377, allocations: 223.6 kB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.3776, allocations: 291.4 kB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3776, allocations: 4 kB / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009327/0.3786, allocations: 464.9 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3786, allocations: 5.719 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3786, allocations: 0 / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3786, allocations: 4 kB / 1.342 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.3789, allocations: 63.83 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3789, allocations: 3.938 kB / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.3792, allocations: 39.77 kB / 1.342 GB, free: 1.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.3792, allocations: 15.98 kB / 1.342 GB, free: 1.656 MB / 1.029 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.0003217/0.3796, allocations: 266.2 kB / 1.342 GB, free: 1.387 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3797, allocations: 87.44 kB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008575/0.3805, allocations: 323.2 kB / 1.342 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3805, allocations: 3.938 kB / 1.342 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3805, allocations: 0 / 1.342 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3806, allocations: 0 / 1.342 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.3822, allocations: 0.8683 MB / 1.343 GB, free: 52 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3822, allocations: 0 / 1.343 GB, free: 52 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.3824, allocations: 43.91 kB / 1.343 GB, free: 8 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3824, allocations: 4 kB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.3825, allocations: 12.06 kB / 1.343 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.3825, allocations: 7.984 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3825, allocations: 3.938 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.3833, allocations: 437.7 kB / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.3836, allocations: 123.4 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.3836, allocations: 8 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.3839, allocations: 23.98 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.384, allocations: 19.97 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.384, allocations: 4 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00112/0.3851, allocations: 0.8864 MB / 1.345 GB, free: 14.44 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3851, allocations: 0 / 1.345 GB, free: 14.44 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000486/0.3856, allocations: 111.7 kB / 1.345 GB, free: 14.33 MB / 1.045 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.0002265/0.3858, allocations: 115.1 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007631/0.3866, allocations: 272.9 kB / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3866, allocations: 0 / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.3869, allocations: 103.8 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.3874, allocations: 59.89 kB / 1.345 GB, free: 13.78 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.39, allocations: 1.455 MB / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3905, allocations: 400.6 kB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.3906, allocations: 47.42 kB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of SimCode: time 6.72e-07/0.3906, allocations: 3.938 kB / 1.347 GB, free: 11.81 MB / 1.045 GB Notification: Performance of Templates: time 0.01533/0.4059, allocations: 9.238 MB / 1.356 GB, free: 2.59 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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: 11.749704484827816]