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.001442/0.001442, allocations: 111 kB / 16.46 MB, free: 6.453 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.001597/0.001597, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.317/3.317, allocations: 0.4899 GB / 0.7916 GB, free: 33.46 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.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.0022/0.0022, allocations: 74.56 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4148, allocations: 176.1 MB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005108/0.4199, allocations: 2.756 MB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.4221, allocations: 1.111 MB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.4224, allocations: 8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.4231, allocations: 210.5 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.4234, allocations: 87.3 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.4239, allocations: 179.6 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.4244, allocations: 407.8 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.4247, allocations: 157.9 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.425, allocations: 163.2 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.4252, allocations: 175 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.4253, allocations: 40 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.4256, allocations: 179.8 kB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.4259, allocations: 263.1 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.4262, allocations: 357.5 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.4274, allocations: 0.9682 MB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4274, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4274, allocations: 4 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.4274, allocations: 3.938 kB / 1.328 GB, free: 11.72 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.001858/0.4293, allocations: 1.164 MB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4293, allocations: 11.98 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.4308, allocations: 240 kB / 1.33 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.4324, allocations: 0.7314 MB / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.4325, allocations: 25.03 kB / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.4325, allocations: 28.38 kB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/0.4335, allocations: 382.5 kB / 1.331 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.4335, allocations: 3.938 kB / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.4336, allocations: 12 kB / 1.331 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.4336, allocations: 8 kB / 1.331 GB, free: 9.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.4348, allocations: 418.4 kB / 1.331 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.4384, allocations: 1.776 MB / 1.333 GB, free: 6.738 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007571/0.4392, allocations: 206.6 kB / 1.333 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/0.4396, allocations: 92.81 kB / 1.333 GB, free: 6.434 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/0.4397, allocations: 11.98 kB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.4397, allocations: 38.56 kB / 1.333 GB, free: 6.375 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.474e-06/0.4397, allocations: 0 / 1.333 GB, free: 6.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001855/0.4416, allocations: 380.8 kB / 1.333 GB, free: 5.996 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4417, allocations: 59.41 kB / 1.334 GB, free: 5.926 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.4449, allocations: 1.247 MB / 1.335 GB, free: 4.656 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/0.445, allocations: 33.7 kB / 1.335 GB, free: 4.617 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007229/0.4457, allocations: 428.5 kB / 1.335 GB, free: 4.191 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.4458, allocations: 71.69 kB / 1.335 GB, free: 4.121 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.446, allocations: 53.69 kB / 1.335 GB, free: 4.062 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002334/0.4463, allocations: 314 kB / 1.336 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.4469, allocations: 147.9 kB / 1.336 GB, free: 3.605 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/0.4476, allocations: 201.9 kB / 1.336 GB, free: 3.387 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.4487, allocations: 282.8 kB / 1.336 GB, free: 3.094 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.4487, allocations: 0 / 1.336 GB, free: 3.094 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001644/0.4503, allocations: 472.8 kB / 1.337 GB, free: 2.625 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.4504, allocations: 8 kB / 1.337 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4504, allocations: 0 / 1.337 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.4504, allocations: 7.938 kB / 1.337 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.4509, allocations: 55.89 kB / 1.337 GB, free: 2.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.4509, allocations: 4 kB / 1.337 GB, free: 2.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.4515, allocations: 39.77 kB / 1.337 GB, free: 2.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.4516, allocations: 11.94 kB / 1.337 GB, free: 2.5 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.0006075/0.4522, allocations: 275.2 kB / 1.337 GB, free: 2.223 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.4525, allocations: 91.39 kB / 1.337 GB, free: 2.133 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.454, allocations: 327.1 kB / 1.337 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.454, allocations: 0 / 1.337 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.454, allocations: 0 / 1.337 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.454, allocations: 4 kB / 1.337 GB, free: 1.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.4572, allocations: 1.004 MB / 1.338 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4572, allocations: 0 / 1.338 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.4577, allocations: 43.91 kB / 1.338 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.4577, allocations: 4 kB / 1.338 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.4577, allocations: 11.98 kB / 1.338 GB, free: 0.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.4577, allocations: 8.156 kB / 1.339 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4577, allocations: 0 / 1.339 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.4592, allocations: 442.2 kB / 1.339 GB, free: 200 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.4597, allocations: 220.6 kB / 1.339 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.4599, allocations: 8 kB / 1.339 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/0.4604, allocations: 11.98 kB / 1.339 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.4605, allocations: 23.72 kB / 1.339 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.4606, allocations: 12 kB / 1.339 GB, free: 15.91 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002509/0.4631, allocations: 0.9028 MB / 1.34 GB, free: 14.99 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4631, allocations: 7.938 kB / 1.34 GB, free: 14.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009832/0.4641, allocations: 99.83 kB / 1.34 GB, free: 14.89 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.0004307/0.4645, allocations: 119.1 kB / 1.34 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.4658, allocations: 269.4 kB / 1.341 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4658, allocations: 0 / 1.341 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.4663, allocations: 107.6 kB / 1.341 GB, free: 14.4 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009411/0.4673, allocations: 67.47 kB / 1.341 GB, free: 14.33 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.4715, allocations: 1.402 MB / 1.342 GB, free: 12.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.4727, allocations: 1.003 MB / 1.343 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005593/0.4733, allocations: 100.7 kB / 1.343 GB, free: 11.74 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.4735, allocations: 43.42 kB / 1.343 GB, free: 11.7 MB / 1.045 GB Notification: Performance of SimCode: time 1.423e-06/0.4735, allocations: 0 / 1.343 GB, free: 11.7 MB / 1.045 GB Notification: Performance of Templates: time 0.02547/0.499, allocations: 5.637 MB / 1.349 GB, free: 6.074 MB / 1.045 GB " [Timeout remaining time 299] 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/jenkins/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: 9.501389999873936]