Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00145/0.00145, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001493/0.001493, allocations: 210.4 kB / 22.25 MB, free: 5.082 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.417/3.417, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) [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.002268/0.002268, allocations: 65.75 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3943, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005347/0.3997, allocations: 2.791 MB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.4022, allocations: 1.1 MB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.4026, allocations: 4 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008636/0.4034, allocations: 222.5 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.4038, allocations: 87.3 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.4045, allocations: 179.7 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000691/0.4052, allocations: 411.7 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.4056, allocations: 158.3 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.4059, allocations: 155.3 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.4062, allocations: 183 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.301e-05/0.4063, allocations: 44 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.4067, allocations: 175.8 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.407, allocations: 263.2 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004368/0.4075, allocations: 353.6 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.409, allocations: 0.9603 MB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.409, allocations: 0 / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.304e-06/0.409, allocations: 0 / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.851e-05/0.409, allocations: 0 / 1.36 GB, free: 1.371 MB / 1.045 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.002321/0.4113, allocations: 1.09 MB / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4114, allocations: 8.031 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.4115, allocations: 66.72 kB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.4129, allocations: 248 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.4147, allocations: 0.6671 MB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.4147, allocations: 29.03 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.4148, allocations: 28.38 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.4158, allocations: 390.2 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4158, allocations: 0 / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.4159, allocations: 12 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4159, allocations: 8 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.417, allocations: 418.4 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.4209, allocations: 1.583 MB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.4217, allocations: 210.6 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.422, allocations: 92.77 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.422, allocations: 12.3 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.4221, allocations: 38.55 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/0.4221, allocations: 0 / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.001218/0.4233, allocations: 370.3 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.4234, allocations: 59.34 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.4254, allocations: 1.25 MB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.4255, allocations: 33.7 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.4259, allocations: 432.5 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.426, allocations: 71.42 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4261, allocations: 45.7 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4263, allocations: 318 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.4267, allocations: 151.9 kB / 1.367 GB, free: 9.578 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.4271, allocations: 201.9 kB / 1.367 GB, free: 9.359 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.4278, allocations: 286 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4278, allocations: 0 / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001136/0.429, allocations: 466.1 kB / 1.368 GB, free: 8.602 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.429, allocations: 8 kB / 1.368 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.429, allocations: 3.938 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.429, allocations: 4 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.4293, allocations: 64.05 kB / 1.368 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4293, allocations: 0 / 1.368 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.4297, allocations: 35.77 kB / 1.368 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.4297, allocations: 15.94 kB / 1.368 GB, free: 8.473 MB / 1.061 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.0004162/0.4302, allocations: 270.3 kB / 1.368 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.4303, allocations: 95.39 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009589/0.4313, allocations: 327.9 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4313, allocations: 4 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.4313, allocations: 3.984 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.4313, allocations: 7.984 kB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.4335, allocations: 0.97 MB / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4335, allocations: 8.031 kB / 1.37 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.4338, allocations: 43.95 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.4338, allocations: 0 / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.4338, allocations: 8 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.4338, allocations: 4 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4338, allocations: 3.938 kB / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.4347, allocations: 444.2 kB / 1.37 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.4351, allocations: 131.3 kB / 1.37 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.4352, allocations: 8 kB / 1.37 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.4355, allocations: 27.97 kB / 1.37 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.4356, allocations: 15.86 kB / 1.37 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.4356, allocations: 15.98 kB / 1.37 GB, free: 5.996 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001372/0.437, allocations: 0.9028 MB / 1.371 GB, free: 5.082 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.437, allocations: 0 / 1.371 GB, free: 5.082 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005726/0.4375, allocations: 95.83 kB / 1.371 GB, free: 4.988 MB / 1.061 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.001418/0.4389, allocations: 0.9912 MB / 1.372 GB, free: 3.953 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008292/0.4398, allocations: 269.4 kB / 1.373 GB, free: 3.691 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.4398, allocations: 8.312 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.4401, allocations: 95.83 kB / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.4408, allocations: 71.36 kB / 1.373 GB, free: 3.516 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.4532, allocations: 7.258 MB / 1.38 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008177/0.454, allocations: 0.9997 MB / 1.381 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003543/0.4544, allocations: 96.66 kB / 1.381 GB, free: 10.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.4549, allocations: 291.3 kB / 1.381 GB, free: 10.66 MB / 1.076 GB Notification: Performance of SimCode: time 7.21e-07/0.4549, allocations: 4 kB / 1.381 GB, free: 10.66 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06562/0.5205, allocations: 13.95 MB / 1.395 GB, free: 12.87 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.31, allocations: 9.375 kB / 1.395 GB, free: 12.86 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.459698071004823]