Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001366/0.001366, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001648/0.001648, allocations: 219.8 kB / 22.26 MB, free: 5.117 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8 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.472/3.472, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_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.002024/0.002024, allocations: 65.56 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3931, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004517/0.3976, allocations: 2.496 MB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3988, allocations: 0.5471 MB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.399, allocations: 4 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.3995, allocations: 135.4 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.3997, allocations: 87.28 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.3999, allocations: 47.89 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.4002, allocations: 238.8 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.4005, allocations: 87.48 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.4006, allocations: 83.72 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.4008, allocations: 95.5 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.4009, allocations: 20 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.645e-05/0.4009, allocations: 20 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.401, allocations: 83.69 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.4012, allocations: 154.9 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.4016, allocations: 342.4 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4016, allocations: 3.984 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4016, allocations: 0 / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.4016, allocations: 4 kB / 1.357 GB, free: 4.023 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001049/0.4027, allocations: 0.5794 MB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4027, allocations: 12.02 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.147e-05/0.4028, allocations: 50.75 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/0.4029, allocations: 48.64 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.4033, allocations: 248.7 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.4033, allocations: 12.38 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.4034, allocations: 16.38 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.4037, allocations: 145.6 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.4037, allocations: 3.938 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.4037, allocations: 8 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4037, allocations: 4 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.404, allocations: 87.95 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009815/0.405, allocations: 0.5538 MB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.4052, allocations: 86.55 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4053, allocations: 40.89 kB / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.4053, allocations: 0 / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4054, allocations: 42.5 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4054, allocations: 0 / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0004008/0.4058, allocations: 149.6 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4058, allocations: 51.5 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.4063, allocations: 389.9 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.4063, allocations: 33.69 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.4065, allocations: 216.1 kB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.4065, allocations: 39.73 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.4066, allocations: 21.72 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4068, allocations: 354.7 kB / 1.36 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.4069, allocations: 23.98 kB / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/0.407, allocations: 54.17 kB / 1.36 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.4071, allocations: 99.36 kB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4071, allocations: 0 / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002754/0.4074, allocations: 145.3 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4074, allocations: 11.98 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4074, allocations: 96 / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.4075, allocations: 8 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4076, allocations: 27.94 kB / 1.361 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4076, allocations: 3.984 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.221e-05/0.4077, allocations: 11.95 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.4077, allocations: 7.938 kB / 1.361 GB, free: 280 kB / 1.045 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.0001842/0.4079, allocations: 161.8 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.4079, allocations: 35.77 kB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.408, allocations: 43.2 kB / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.408, allocations: 4 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.408, allocations: 0 / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.408, allocations: 0 / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.4084, allocations: 284.5 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4084, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.4086, allocations: 24.02 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4086, allocations: 3.938 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4086, allocations: 4 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4086, allocations: 3.938 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4086, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.409, allocations: 259.2 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.4091, allocations: 39.73 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.4091, allocations: 4 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.4092, allocations: 4 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.4093, allocations: 3.984 kB / 1.361 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4093, allocations: 4 kB / 1.361 GB, free: 15.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000325/0.4096, allocations: 283.1 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4096, allocations: 8.062 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003383/0.41, allocations: 43.89 kB / 1.362 GB, free: 15.01 MB / 1.061 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.0007776/0.4107, allocations: 0.7825 MB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.411, allocations: 72.09 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.411, allocations: 4 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.4111, allocations: 32.11 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.4115, allocations: 25.64 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.4153, allocations: 2.718 MB / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.4159, allocations: 0.8019 MB / 1.366 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.29e-05/0.416, allocations: 12.64 kB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.4162, allocations: 99.41 kB / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of SimCode: time 1.924e-06/0.4162, allocations: 0 / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.4542, allocations: 5.117 MB / 1.371 GB, free: 5.344 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.08, allocations: 10.11 kB / 1.371 GB, free: 5.336 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.168582423822954]