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.001403/0.001403, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001555/0.001555, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.358/3.358, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_12_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.002976/0.002976, allocations: 73.62 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4051, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.0044/0.4095, allocations: 2.763 MB / 1.324 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.4114, allocations: 1.107 MB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.4116, allocations: 4 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.4123, allocations: 218.5 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.4125, allocations: 87.3 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.413, allocations: 183.5 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.4135, allocations: 395.8 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.4138, allocations: 157.9 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.414, allocations: 163.2 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.4142, allocations: 179 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.4143, allocations: 47.94 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.4146, allocations: 175.8 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.4149, allocations: 267.1 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.4152, allocations: 353.6 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.4163, allocations: 0.9643 MB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4163, allocations: 0 / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4163, allocations: 0 / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.4163, allocations: 0 / 1.328 GB, free: 12.26 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.001694/0.418, allocations: 1.166 MB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.418, allocations: 11.98 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.315e-05/0.4181, allocations: 70.66 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.4196, allocations: 244 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.4211, allocations: 0.7353 MB / 1.33 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.4212, allocations: 21.03 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.4212, allocations: 36.38 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009545/0.4222, allocations: 386.3 kB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4222, allocations: 0 / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.4222, allocations: 12 kB / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4223, allocations: 4 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4233, allocations: 418.4 kB / 1.331 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.4269, allocations: 1.772 MB / 1.332 GB, free: 7.191 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.4276, allocations: 210.6 kB / 1.333 GB, free: 6.977 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.428, allocations: 88.81 kB / 1.333 GB, free: 6.887 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.428, allocations: 8.297 kB / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.4281, allocations: 42.55 kB / 1.333 GB, free: 6.828 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.4281, allocations: 0 / 1.333 GB, free: 6.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.00123/0.4293, allocations: 378.2 kB / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.4293, allocations: 55.41 kB / 1.333 GB, free: 6.387 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.431, allocations: 1.254 MB / 1.334 GB, free: 5.109 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.4311, allocations: 29.7 kB / 1.334 GB, free: 5.074 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.4315, allocations: 436.5 kB / 1.335 GB, free: 4.641 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.4316, allocations: 67.42 kB / 1.335 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.4317, allocations: 49.7 kB / 1.335 GB, free: 4.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4319, allocations: 314 kB / 1.335 GB, free: 4.207 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.4322, allocations: 147.9 kB / 1.335 GB, free: 4.062 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.4327, allocations: 197.9 kB / 1.336 GB, free: 3.848 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.4334, allocations: 282.6 kB / 1.336 GB, free: 3.555 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4334, allocations: 0 / 1.336 GB, free: 3.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001043/0.4344, allocations: 474.1 kB / 1.336 GB, free: 3.086 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4344, allocations: 4 kB / 1.336 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4345, allocations: 3.938 kB / 1.336 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4345, allocations: 7.938 kB / 1.336 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.4348, allocations: 64.06 kB / 1.336 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4348, allocations: 7.969 kB / 1.336 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.4352, allocations: 39.77 kB / 1.336 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.4352, allocations: 4 kB / 1.336 GB, free: 2.957 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.0003823/0.4356, allocations: 269.7 kB / 1.337 GB, free: 2.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.4357, allocations: 99.39 kB / 1.337 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009502/0.4367, allocations: 323.5 kB / 1.337 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4367, allocations: 4 kB / 1.337 GB, free: 2.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4367, allocations: 3.984 kB / 1.337 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4367, allocations: 0 / 1.337 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.4385, allocations: 1.004 MB / 1.338 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4385, allocations: 4 kB / 1.338 GB, free: 1.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.4388, allocations: 47.89 kB / 1.338 GB, free: 1.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4388, allocations: 0 / 1.338 GB, free: 1.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.4388, allocations: 4 kB / 1.338 GB, free: 1.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.4389, allocations: 8 kB / 1.338 GB, free: 1.117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4389, allocations: 0 / 1.338 GB, free: 1.117 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.4397, allocations: 457.1 kB / 1.339 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.44, allocations: 208.4 kB / 1.339 GB, free: 424 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.4401, allocations: 7.984 kB / 1.339 GB, free: 416 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.4404, allocations: 23.98 kB / 1.339 GB, free: 392 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.4405, allocations: 23.86 kB / 1.339 GB, free: 368 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.4405, allocations: 7.984 kB / 1.339 GB, free: 360 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001246/0.4417, allocations: 0.899 MB / 1.34 GB, free: 15.44 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4417, allocations: 0 / 1.34 GB, free: 15.44 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005316/0.4423, allocations: 107.8 kB / 1.34 GB, free: 15.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.00144/0.4437, allocations: 0.9958 MB / 1.341 GB, free: 14.29 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008394/0.4446, allocations: 263.7 kB / 1.341 GB, free: 14.04 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.4446, allocations: 4.312 kB / 1.341 GB, free: 14.03 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.4449, allocations: 95.83 kB / 1.341 GB, free: 13.94 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.4455, allocations: 73.75 kB / 1.341 GB, free: 13.86 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.4574, allocations: 7.279 MB / 1.348 GB, free: 6.406 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/0.4581, allocations: 0.9908 MB / 1.349 GB, free: 5.387 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003913/0.4585, allocations: 100.6 kB / 1.349 GB, free: 5.285 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/0.459, allocations: 295.3 kB / 1.35 GB, free: 5 MB / 1.045 GB Notification: Performance of SimCode: time 2.104e-06/0.459, allocations: 4 kB / 1.35 GB, free: 4.996 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.504, allocations: 13.74 MB / 1.363 GB, free: 7.438 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.56, allocations: 8.641 kB / 1.363 GB, free: 7.43 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 420.0] 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: 17.510774346999824]