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.001742/0.001742, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001605/0.001605, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.036/3.036, allocations: 0.49 GB / 0.7923 GB, free: 1.301 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_12_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.002383/0.002383, allocations: 71.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 176.1 MB / 1.321 GB, free: 24.9 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003672/1.048, allocations: 2.483 MB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001021/1.049, allocations: 0.5504 MB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/1.049, allocations: 2.812 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004028/1.05, allocations: 135.5 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/1.05, allocations: 86.19 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/1.05, allocations: 39.34 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/1.05, allocations: 252.3 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/1.05, allocations: 78.73 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/1.05, allocations: 88.34 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/1.051, allocations: 100.4 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/1.051, allocations: 17.34 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-05/1.051, allocations: 17.97 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/1.051, allocations: 89.47 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/1.051, allocations: 152.2 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/1.051, allocations: 345.3 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.051, allocations: 0 / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/1.051, allocations: 0 / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.051, allocations: 0 / 1.326 GB, free: 22.04 MB / 1.061 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.0007536/1.052, allocations: 0.6621 MB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.052, allocations: 12.42 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.128e-05/1.052, allocations: 2.875 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/1.052, allocations: 47.44 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.121e-05/1.052, allocations: 50.09 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/1.052, allocations: 311.9 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/1.052, allocations: 10.38 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/1.052, allocations: 13.22 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/1.053, allocations: 146.8 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.053, allocations: 0 / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/1.053, allocations: 5.594 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.053, allocations: 4 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/1.053, allocations: 94.27 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008919/1.054, allocations: 0.5892 MB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/1.054, allocations: 86.97 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/1.054, allocations: 47.64 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/1.054, allocations: 1.219 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/1.054, allocations: 40.56 kB / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/1.054, allocations: 0 / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0004145/1.055, allocations: 144.6 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/1.055, allocations: 52.03 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/1.055, allocations: 390.4 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/1.055, allocations: 30.3 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/1.056, allocations: 215.5 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/1.056, allocations: 39.31 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/1.056, allocations: 26.25 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/1.056, allocations: 354.2 kB / 1.329 GB, free: 19.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/1.056, allocations: 25.19 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/1.056, allocations: 53.72 kB / 1.329 GB, free: 19.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/1.056, allocations: 96.58 kB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.056, allocations: 4 kB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002831/1.056, allocations: 145.7 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.056, allocations: 5.438 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.056, allocations: 1.062 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/1.056, allocations: 5.938 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/1.057, allocations: 27.59 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.057, allocations: 1.156 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/1.057, allocations: 15.3 kB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/1.057, allocations: 3.406 kB / 1.329 GB, free: 19.29 MB / 1.061 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.0001789/1.057, allocations: 170.4 kB / 1.33 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/1.057, allocations: 35.55 kB / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/1.057, allocations: 39.7 kB / 1.33 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.057, allocations: 5.25 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.057, allocations: 0.5625 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.057, allocations: 4.5 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/1.057, allocations: 301.4 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.057, allocations: 0 / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/1.058, allocations: 26.31 kB / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.058, allocations: 1.062 kB / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/1.058, allocations: 1.25 kB / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.058, allocations: 0 / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.058, allocations: 3.828 kB / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/1.058, allocations: 268.1 kB / 1.33 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/1.058, allocations: 113.6 kB / 1.33 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/1.058, allocations: 0.9375 kB / 1.33 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/1.058, allocations: 1.594 kB / 1.33 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/1.058, allocations: 10.58 kB / 1.33 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/1.058, allocations: 6.312 kB / 1.33 GB, free: 18.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002891/1.058, allocations: 274.8 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.058, allocations: 4 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000309/1.059, allocations: 46.58 kB / 1.331 GB, free: 18.38 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.0005769/1.059, allocations: 0.7894 MB / 1.331 GB, free: 17.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002433/1.06, allocations: 74.16 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.06, allocations: 0 / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/1.06, allocations: 34.53 kB / 1.332 GB, free: 17.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/1.06, allocations: 29.25 kB / 1.332 GB, free: 17.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/1.064, allocations: 2.722 MB / 1.334 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/1.064, allocations: 0.8063 MB / 1.335 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.46e-05/1.064, allocations: 14.81 kB / 1.335 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/1.064, allocations: 102.5 kB / 1.335 GB, free: 15 MB / 1.061 GB Notification: Performance of SimCode: time 1.102e-06/1.064, allocations: 0 / 1.335 GB, free: 15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/1.095, allocations: 4.999 MB / 1.34 GB, free: 14.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.095/10.19, allocations: 9.703 kB / 1.34 GB, free: 14.04 MB / 1.061 GB " [Timeout remaining time 290] (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.86369097197894]