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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 108.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.245/3.245, allocations: 497.2 MB / 0.7811 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 65.8 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3589, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.006562/0.3654, allocations: 2.744 MB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003165/0.3686, allocations: 1.107 MB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005513/0.3691, allocations: 4 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.3703, allocations: 206.6 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.3709, allocations: 83.3 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008729/0.3717, allocations: 187.6 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008524/0.3726, allocations: 403.8 kB / 1.309 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.3731, allocations: 157.9 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.3735, allocations: 155.3 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.3738, allocations: 178.9 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.689e-05/0.3739, allocations: 40 kB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005585/0.3744, allocations: 175.8 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.3748, allocations: 259.2 kB / 1.31 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.3752, allocations: 353.6 kB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.377, allocations: 0.9759 MB / 1.311 GB, free: 10.51 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.377, allocations: 0 / 1.311 GB, free: 10.51 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.484e-06/0.377, allocations: 4 kB / 1.311 GB, free: 10.51 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.862e-05/0.377, allocations: 0 / 1.311 GB, free: 10.51 MB / 1.014 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.002985/0.38, allocations: 1.154 MB / 1.312 GB, free: 9.297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.083e-05/0.3801, allocations: 8.625 kB / 1.312 GB, free: 9.289 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.3803, allocations: 74.66 kB / 1.312 GB, free: 9.207 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.3824, allocations: 240 kB / 1.312 GB, free: 8.973 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.3849, allocations: 0.7353 MB / 1.313 GB, free: 8.184 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.385, allocations: 25.03 kB / 1.313 GB, free: 8.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.3851, allocations: 28.38 kB / 1.313 GB, free: 8.133 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3864, allocations: 390.3 kB / 1.313 GB, free: 7.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.3865, allocations: 0 / 1.313 GB, free: 7.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.3865, allocations: 12 kB / 1.313 GB, free: 7.738 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.3865, allocations: 8 kB / 1.313 GB, free: 7.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.388, allocations: 414.4 kB / 1.314 GB, free: 7.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005102/0.3931, allocations: 1.78 MB / 1.316 GB, free: 5.449 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.3941, allocations: 214.5 kB / 1.316 GB, free: 5.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.3946, allocations: 96.8 kB / 1.316 GB, free: 5.133 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.3946, allocations: 4 kB / 1.316 GB, free: 5.129 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.3946, allocations: 38.56 kB / 1.316 GB, free: 5.082 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 3.267e-06/0.3946, allocations: 0 / 1.316 GB, free: 5.082 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001708/0.3964, allocations: 382.3 kB / 1.316 GB, free: 4.703 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.3964, allocations: 59.41 kB / 1.316 GB, free: 4.633 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.3989, allocations: 1.243 MB / 1.318 GB, free: 3.367 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.3989, allocations: 25.7 kB / 1.318 GB, free: 3.336 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/0.3995, allocations: 436.5 kB / 1.318 GB, free: 2.906 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.3996, allocations: 71.33 kB / 1.318 GB, free: 2.836 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.3997, allocations: 61.69 kB / 1.318 GB, free: 2.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3999, allocations: 314 kB / 1.318 GB, free: 2.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.4004, allocations: 147.9 kB / 1.319 GB, free: 2.312 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.401, allocations: 203.7 kB / 1.319 GB, free: 2.094 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.402, allocations: 274.4 kB / 1.319 GB, free: 1.809 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.402, allocations: 4 kB / 1.319 GB, free: 1.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001527/0.4036, allocations: 470.7 kB / 1.319 GB, free: 1.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4036, allocations: 5.562 kB / 1.319 GB, free: 1.336 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.4036, allocations: 7.938 kB / 1.319 GB, free: 1.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.4036, allocations: 0 / 1.319 GB, free: 1.328 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.4041, allocations: 63.89 kB / 1.319 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.4042, allocations: 4 kB / 1.319 GB, free: 1.262 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.4047, allocations: 39.77 kB / 1.32 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.4047, allocations: 11.98 kB / 1.32 GB, free: 1.211 MB / 1.014 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.0005782/0.4053, allocations: 277.7 kB / 1.32 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.4055, allocations: 87.39 kB / 1.32 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.4067, allocations: 323.3 kB / 1.32 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.4067, allocations: 4 kB / 1.32 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4067, allocations: 0 / 1.32 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4068, allocations: 0 / 1.32 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.4094, allocations: 1.019 MB / 1.321 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4094, allocations: 0 / 1.321 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.4098, allocations: 43.91 kB / 1.321 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.4098, allocations: 4 kB / 1.321 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.4098, allocations: 12.14 kB / 1.321 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.4098, allocations: 4 kB / 1.321 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4098, allocations: 4 kB / 1.321 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.411, allocations: 436.1 kB / 1.322 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.4115, allocations: 216.4 kB / 1.322 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4116, allocations: 8 kB / 1.322 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.412, allocations: 15.98 kB / 1.322 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4121, allocations: 27.91 kB / 1.322 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.4121, allocations: 8 kB / 1.322 GB, free: 14.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001823/0.414, allocations: 0.8989 MB / 1.323 GB, free: 13.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/0.414, allocations: 8 kB / 1.323 GB, free: 13.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007461/0.4147, allocations: 103.8 kB / 1.323 GB, free: 13.59 MB / 1.029 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.0018/0.4165, allocations: 1.003 MB / 1.324 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.4176, allocations: 267.7 kB / 1.324 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4176, allocations: 0 / 1.324 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.4181, allocations: 104.4 kB / 1.324 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008487/0.4189, allocations: 69.5 kB / 1.324 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.4339, allocations: 7.257 MB / 1.331 GB, free: 4.668 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/0.4346, allocations: 0.9887 MB / 1.332 GB, free: 3.652 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003633/0.435, allocations: 100.7 kB / 1.332 GB, free: 3.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.4354, allocations: 295.3 kB / 1.333 GB, free: 3.262 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/0.4354, allocations: 4 kB / 1.333 GB, free: 3.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.4827, allocations: 13.75 MB / 1.346 GB, free: 5.695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.947/10.43, allocations: 3.984 kB / 1.346 GB, free: 5.691 MB / 1.045 GB " [Timeout remaining time 289] (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_2/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: 17.250687898136675]