Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001636/0.001636, allocations: 106.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.001913/0.001913, 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.415/1.415, 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 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.699/2.699, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.91 kB / 1.104 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9579/0.96, allocations: 168.7 MB / 1.269 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.006123/0.9661, allocations: 2.468 MB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.9675, allocations: 0.5431 MB / 1.272 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.9678, allocations: 0 / 1.272 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.9684, allocations: 131.5 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.9687, allocations: 87.28 kB / 1.272 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.9689, allocations: 47.88 kB / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000441/0.9693, allocations: 242.8 kB / 1.272 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.9696, allocations: 83.11 kB / 1.272 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.9698, allocations: 83.66 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.97, allocations: 99.5 kB / 1.272 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.9701, allocations: 20 kB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.874e-05/0.9701, allocations: 20 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.9703, allocations: 83.64 kB / 1.273 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.9705, allocations: 159 kB / 1.273 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.971, allocations: 336.3 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.971, allocations: 0 / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/0.971, allocations: 0 / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.971, allocations: 0 / 1.273 GB, free: 0.7539 MB / 0.9669 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.001184/0.9722, allocations: 0.6669 MB / 1.274 GB, free: 36 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.9723, allocations: 8.031 kB / 1.274 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.195e-05/0.9724, allocations: 46.73 kB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.9725, allocations: 44.66 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.9729, allocations: 306.5 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.973, allocations: 12.38 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.973, allocations: 12.38 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.9735, allocations: 145.9 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.9735, allocations: 7.938 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.9735, allocations: 8 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9735, allocations: 4 kB / 1.274 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.9738, allocations: 91.95 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.9748, allocations: 0.5859 MB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.9751, allocations: 90.64 kB / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.9752, allocations: 44.78 kB / 1.275 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.9752, allocations: 4 kB / 1.275 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.9753, allocations: 34.56 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.9753, allocations: 0 / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004159/0.9757, allocations: 149.3 kB / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.9757, allocations: 55.41 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.9762, allocations: 390 kB / 1.276 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.9762, allocations: 25.7 kB / 1.276 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.9764, allocations: 220.2 kB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.9765, allocations: 35.67 kB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.9766, allocations: 29.67 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.9767, allocations: 350.7 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.9768, allocations: 31.98 kB / 1.276 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.9769, allocations: 54.92 kB / 1.276 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.9771, allocations: 87.36 kB / 1.276 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9771, allocations: 4 kB / 1.276 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003001/0.9774, allocations: 149.3 kB / 1.277 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.9775, allocations: 4 kB / 1.277 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9775, allocations: 4 kB / 1.277 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.9775, allocations: 4 kB / 1.277 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.9776, allocations: 27.92 kB / 1.277 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.9776, allocations: 0 / 1.277 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.703e-05/0.9777, allocations: 11.94 kB / 1.277 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.9777, allocations: 12.03 kB / 1.277 GB, free: 12.79 MB / 0.9825 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.0002598/0.978, allocations: 166.8 kB / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.9781, allocations: 31.77 kB / 1.277 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.9781, allocations: 39.22 kB / 1.277 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.9781, allocations: 0 / 1.277 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9781, allocations: 0 / 1.277 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.9781, allocations: 7.938 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.9786, allocations: 309.4 kB / 1.277 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.9786, allocations: 4 kB / 1.277 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.9787, allocations: 19.98 kB / 1.277 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.9787, allocations: 4 kB / 1.277 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.9787, allocations: 4 kB / 1.277 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.9787, allocations: 0 / 1.277 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9787, allocations: 0 / 1.277 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.9791, allocations: 259.2 kB / 1.277 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.9793, allocations: 112.9 kB / 1.278 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.9793, allocations: 4.062 kB / 1.278 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.9794, allocations: 4 kB / 1.278 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.9795, allocations: 7.984 kB / 1.278 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.9795, allocations: 4 kB / 1.278 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003209/0.9798, allocations: 283.1 kB / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9798, allocations: 0 / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002894/0.9801, allocations: 47.83 kB / 1.278 GB, free: 11.42 MB / 0.9825 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.000779/0.9809, allocations: 0.7942 MB / 1.279 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.9811, allocations: 72.03 kB / 1.279 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9811, allocations: 0 / 1.279 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.9812, allocations: 27.94 kB / 1.279 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.9816, allocations: 29.8 kB / 1.279 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.9852, allocations: 2.727 MB / 1.281 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.9857, allocations: 0.7949 MB / 1.282 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.058e-05/0.9857, allocations: 16.64 kB / 1.282 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.9859, allocations: 103.3 kB / 1.282 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.9859, allocations: 0 / 1.282 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/1.019, allocations: 4.983 MB / 1.287 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.858, allocations: 11.55 kB / 1.287 GB, free: 1.867 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.777863073628396]