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.001555/0.001555, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00174/0.00174, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.313/3.313, allocations: 0.5003 GB / 0.8061 GB, free: 26.7 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="cs",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.001956/0.001956, allocations: 69.66 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4088, allocations: 179 MB / 1.345 GB, free: 392 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004296/0.4131, allocations: 2.497 MB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.4142, allocations: 0.547 MB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.4143, allocations: 4 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.4147, allocations: 127.5 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.4149, allocations: 95.27 kB / 1.349 GB, free: 13.1 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.415, allocations: 43.95 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.4153, allocations: 246.7 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.4155, allocations: 75.61 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.4156, allocations: 87.66 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.4158, allocations: 99.5 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.4158, allocations: 20 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.796e-05/0.4159, allocations: 16 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.877e-05/0.416, allocations: 83.69 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.4161, allocations: 158.9 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.4165, allocations: 342.4 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4165, allocations: 0 / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4165, allocations: 0 / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.4165, allocations: 0 / 1.35 GB, free: 11.95 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.0008969/0.4174, allocations: 0.5893 MB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.4175, allocations: 8.031 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.189e-05/0.4175, allocations: 12.12 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.4176, allocations: 46.73 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.4176, allocations: 44.66 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.418, allocations: 252.6 kB / 1.351 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.418, allocations: 12.38 kB / 1.351 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.4181, allocations: 16.38 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.4183, allocations: 141.9 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4184, allocations: 3.938 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.4184, allocations: 12 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4184, allocations: 4 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.4186, allocations: 95.7 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.4195, allocations: 0.5421 MB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.4198, allocations: 86.55 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4199, allocations: 44.95 kB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.4199, allocations: 0 / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4199, allocations: 34.5 kB / 1.352 GB, free: 9.879 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.4199, allocations: 0 / 1.352 GB, free: 9.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0003999/0.4203, allocations: 153.4 kB / 1.352 GB, free: 9.723 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.4204, allocations: 55.41 kB / 1.352 GB, free: 9.656 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.4208, allocations: 386 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4208, allocations: 25.7 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.421, allocations: 224.1 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.4211, allocations: 31.73 kB / 1.352 GB, free: 8.988 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.4211, allocations: 25.72 kB / 1.352 GB, free: 8.957 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4213, allocations: 350.7 kB / 1.353 GB, free: 8.605 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.4214, allocations: 31.98 kB / 1.353 GB, free: 8.574 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4215, allocations: 51.42 kB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.4217, allocations: 95.67 kB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4217, allocations: 8 kB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002696/0.422, allocations: 149.3 kB / 1.353 GB, free: 8.246 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.422, allocations: 4 kB / 1.353 GB, free: 8.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.422, allocations: 4 kB / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.422, allocations: 3.984 kB / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4221, allocations: 23.94 kB / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.4221, allocations: 4 kB / 1.353 GB, free: 8.207 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.4222, allocations: 11.88 kB / 1.353 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4222, allocations: 8.094 kB / 1.353 GB, free: 8.188 MB / 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.0001682/0.4224, allocations: 161.8 kB / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.4225, allocations: 35.77 kB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.4225, allocations: 39.2 kB / 1.353 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4225, allocations: 7.938 kB / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4225, allocations: 0 / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4226, allocations: 3.938 kB / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.4229, allocations: 288.5 kB / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4229, allocations: 0 / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.4231, allocations: 23.94 kB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4231, allocations: 3.984 kB / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4231, allocations: 0 / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4231, allocations: 0 / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4231, allocations: 0 / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.4235, allocations: 255.2 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.4236, allocations: 43.92 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.4236, allocations: 64 / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.4237, allocations: 11.94 kB / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.4237, allocations: 7.984 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4237, allocations: 3.938 kB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003104/0.424, allocations: 283.1 kB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.424, allocations: 0 / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002825/0.4243, allocations: 43.89 kB / 1.354 GB, free: 6.926 MB / 1.045 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.0006878/0.425, allocations: 0.7865 MB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.4252, allocations: 71.84 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4253, allocations: 0 / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.4253, allocations: 31.98 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.4258, allocations: 33.84 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.4292, allocations: 2.728 MB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.4297, allocations: 0.7981 MB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.908e-05/0.4298, allocations: 8.641 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.4299, allocations: 103.4 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of SimCode: time 7.92e-07/0.4299, allocations: 0 / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.4594, allocations: 5.138 MB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.84, allocations: 6.125 kB / 1.364 GB, free: 13.25 MB / 1.061 GB " [Timeout remaining time 287] (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.919824708020315]