Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.00173/0.00173, 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.002088/0.002088, 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.286/3.286, allocations: 0.49 GB / 0.7916 GB, free: 33.57 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.EngineTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.002176/0.002176, allocations: 69.98 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3942, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004303/0.3985, allocations: 2.484 MB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3997, allocations: 0.5431 MB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.3998, allocations: 4 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.4002, allocations: 131.5 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.4004, allocations: 91.27 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.4005, allocations: 39.95 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.4009, allocations: 246.7 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.4011, allocations: 83.12 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.4013, allocations: 79.73 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.4014, allocations: 103.4 kB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.4015, allocations: 20 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.4015, allocations: 20 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.4016, allocations: 79.69 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.4018, allocations: 159 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.4022, allocations: 338.4 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4022, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4022, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.4022, allocations: 0 / 1.325 GB, free: 14.89 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001008/0.4032, allocations: 0.6649 MB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.4033, allocations: 11.98 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.165e-05/0.4033, allocations: 58.67 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.4034, allocations: 44.66 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.4038, allocations: 306.5 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.4038, allocations: 12.38 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.4039, allocations: 16.38 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.4042, allocations: 141.9 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4042, allocations: 11.86 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4042, allocations: 4 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.4042, allocations: 7.938 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.4044, allocations: 91.95 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.4054, allocations: 0.5857 MB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.4056, allocations: 90.59 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.4057, allocations: 40.84 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.4058, allocations: 0 / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4058, allocations: 38.56 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.4058, allocations: 0 / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003813/0.4062, allocations: 145.4 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.4062, allocations: 51.41 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.4066, allocations: 390 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4067, allocations: 25.7 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4068, allocations: 220.2 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.4069, allocations: 43.67 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.4069, allocations: 25.72 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4071, allocations: 346.7 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.4072, allocations: 31.98 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.4073, allocations: 51.36 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.4075, allocations: 95.36 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4075, allocations: 0 / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002684/0.4078, allocations: 149.6 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4078, allocations: 4 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4078, allocations: 4 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4078, allocations: 4.094 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4079, allocations: 23.98 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.408, allocations: 4 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.408, allocations: 11.89 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4081, allocations: 7.938 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001615/0.4082, allocations: 169.7 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.4083, allocations: 35.77 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.4083, allocations: 35.22 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4083, allocations: 4 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4083, allocations: 7.938 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4083, allocations: 0 / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.4087, allocations: 305.5 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4087, allocations: 0 / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.4088, allocations: 19.98 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4088, allocations: 4 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4089, allocations: 4 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4089, allocations: 0 / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4089, allocations: 0 / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.4093, allocations: 263.2 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.4094, allocations: 112.8 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.4094, allocations: 8 kB / 1.33 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.4095, allocations: 0 / 1.33 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.4095, allocations: 11.97 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4096, allocations: 4 kB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002976/0.4099, allocations: 283.1 kB / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4099, allocations: 4 kB / 1.33 GB, free: 9.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002882/0.4101, allocations: 51.89 kB / 1.33 GB, free: 9.531 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0008125/0.411, allocations: 0.7904 MB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4112, allocations: 72.16 kB / 1.331 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4112, allocations: 0 / 1.331 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.844e-05/0.4113, allocations: 31.94 kB / 1.331 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.4117, allocations: 29.53 kB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.4154, allocations: 2.715 MB / 1.334 GB, free: 5.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.4159, allocations: 0.8019 MB / 1.334 GB, free: 4.938 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.803e-05/0.416, allocations: 17.09 kB / 1.334 GB, free: 4.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.4161, allocations: 103.4 kB / 1.334 GB, free: 4.82 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4161, allocations: 0 / 1.334 GB, free: 4.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.4507, allocations: 4.973 MB / 1.339 GB, free: 15.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.933/9.383, allocations: 3.984 kB / 1.339 GB, free: 15.98 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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: 16.31063656602055]