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: 103.6 kB / 18.95 MB, free: 2.66 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.002137/0.002137, allocations: 216.7 kB / 22.24 MB, free: 5.258 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.781 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.149/3.149, allocations: 0.49 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.002044/0.002044, allocations: 66.88 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3966, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004979/0.4016, allocations: 2.372 MB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.4031, allocations: 0.5042 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.4032, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.4036, allocations: 123.5 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.4038, allocations: 91.28 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.404, allocations: 39.95 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.4043, allocations: 238.7 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.4045, allocations: 80.14 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.4046, allocations: 87.59 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.4048, allocations: 99.5 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.4048, allocations: 20 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.087e-05/0.4049, allocations: 24 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.405, allocations: 83.69 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.4051, allocations: 119.2 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.4055, allocations: 346.4 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4055, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.736e-06/0.4055, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4055, allocations: 0 / 1.33 GB, free: 13.27 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.001188/0.4067, allocations: 0.5856 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.4068, allocations: 8.031 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.4069, allocations: 54.73 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/0.4069, allocations: 44.66 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.4075, allocations: 244.6 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.4075, allocations: 8.375 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.4076, allocations: 20.38 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.4079, allocations: 142.3 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4079, allocations: 7.875 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.408, allocations: 8 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.408, allocations: 11.98 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.4082, allocations: 87.95 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008523/0.4091, allocations: 0.5146 MB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.4093, allocations: 90.59 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.4094, allocations: 44.88 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4095, allocations: 4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.4095, allocations: 38.5 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.4095, allocations: 3.938 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003989/0.4099, allocations: 145.4 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4099, allocations: 55.39 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.4104, allocations: 389.9 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.4104, allocations: 25.7 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.4106, allocations: 220.2 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.4107, allocations: 35.73 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.4107, allocations: 21.72 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4109, allocations: 358.7 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.411, allocations: 23.98 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.4111, allocations: 57.67 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.4113, allocations: 91.73 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4113, allocations: 7.938 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003392/0.4116, allocations: 149.3 kB / 1.333 GB, free: 9.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4117, allocations: 4 kB / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4117, allocations: 4 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.4117, allocations: 4 kB / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.4118, allocations: 27.92 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.4118, allocations: 0 / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.4119, allocations: 15.94 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.4119, allocations: 7.938 kB / 1.333 GB, free: 9.539 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.0001755/0.4121, allocations: 161.8 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.4122, allocations: 39.86 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.4122, allocations: 39.2 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4122, allocations: 4 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4122, allocations: 0 / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4123, allocations: 0 / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.4126, allocations: 268.5 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4126, allocations: 0 / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.4128, allocations: 23.92 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4128, allocations: 0 / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.4128, allocations: 4 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4128, allocations: 0 / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4128, allocations: 8 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.4133, allocations: 255.2 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.4133, allocations: 31.77 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.4134, allocations: 7.938 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4135, allocations: 4 kB / 1.334 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.4135, allocations: 4.172 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.4135, allocations: 4 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003272/0.4139, allocations: 287 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4139, allocations: 0 / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002826/0.4141, allocations: 47.95 kB / 1.335 GB, free: 8.309 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.0007499/0.4149, allocations: 0.7981 MB / 1.335 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.4151, allocations: 71.84 kB / 1.335 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4151, allocations: 0 / 1.335 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.791e-05/0.4152, allocations: 31.98 kB / 1.335 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.4156, allocations: 31.78 kB / 1.335 GB, free: 7.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.4193, allocations: 2.713 MB / 1.338 GB, free: 4.547 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.4195, allocations: 198.7 kB / 1.338 GB, free: 4.328 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.756e-05/0.4196, allocations: 16.62 kB / 1.338 GB, free: 4.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.4197, allocations: 99.41 kB / 1.338 GB, free: 4.215 MB / 1.029 GB Notification: Performance of SimCode: time 6.62e-07/0.4197, allocations: 0 / 1.338 GB, free: 4.215 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.4538, allocations: 5.533 MB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.91, allocations: 14.33 kB / 1.344 GB, free: 14.84 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.591292928002076]