Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.001325/0.001325, allocations: 78.8 kB / 19.76 MB, free: 1.875 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.001417/0.001417, allocations: 164.8 kB / 23.01 MB, free: 4.602 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.904/2.904, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [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.002134/0.002134, allocations: 71.88 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8911/0.8932, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003649/0.8969, allocations: 2.579 MB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.8984, allocations: 1.002 MB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.8986, allocations: 9.25 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.8992, allocations: 195.8 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.8994, allocations: 95.12 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.9, allocations: 178.9 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.9004, allocations: 399.2 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.9007, allocations: 145 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.9008, allocations: 164.1 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.901, allocations: 150.6 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.103e-05/0.9011, allocations: 41.12 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.9014, allocations: 175.6 kB / 1.192 GB, free: 13 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.9017, allocations: 258.5 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.9019, allocations: 262.8 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.9032, allocations: 0.9705 MB / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9032, allocations: 0.8438 kB / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9032, allocations: 0 / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.9032, allocations: 0 / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001468/0.9047, allocations: 1.085 MB / 1.194 GB, free: 11.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.9047, allocations: 13.03 kB / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.9061, allocations: 244.4 kB / 1.194 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.9076, allocations: 0.6674 MB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.9077, allocations: 26.02 kB / 1.195 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.9077, allocations: 36.41 kB / 1.195 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008704/0.9086, allocations: 408.1 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.9086, allocations: 5.672 kB / 1.195 GB, free: 10.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.9086, allocations: 10.47 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.9086, allocations: 7.562 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.9097, allocations: 416.5 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.9129, allocations: 1.405 MB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.9135, allocations: 208.7 kB / 1.197 GB, free: 9.996 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.9138, allocations: 88.27 kB / 1.198 GB, free: 9.965 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.9139, allocations: 13.44 kB / 1.198 GB, free: 9.957 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.9139, allocations: 33.5 kB / 1.198 GB, free: 9.918 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.9139, allocations: 0 / 1.198 GB, free: 9.918 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.001215/0.9151, allocations: 374.2 kB / 1.198 GB, free: 9.758 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.9151, allocations: 58.31 kB / 1.198 GB, free: 9.691 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.9166, allocations: 1.221 MB / 1.199 GB, free: 9.223 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.9167, allocations: 27.47 kB / 1.199 GB, free: 9.191 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.917, allocations: 429 kB / 1.2 GB, free: 8.855 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.9171, allocations: 77.94 kB / 1.2 GB, free: 8.793 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.9172, allocations: 62.83 kB / 1.2 GB, free: 8.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.9172, allocations: 316.2 kB / 1.2 GB, free: 8.441 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.9176, allocations: 148.1 kB / 1.2 GB, free: 8.398 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.918, allocations: 226.6 kB / 1.2 GB, free: 8.266 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006778/0.9186, allocations: 280.1 kB / 1.201 GB, free: 8.133 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9186, allocations: 0 / 1.201 GB, free: 8.133 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009594/0.9196, allocations: 471.9 kB / 1.201 GB, free: 7.941 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.9196, allocations: 6.703 kB / 1.201 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.9196, allocations: 6.156 kB / 1.201 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.9197, allocations: 2.719 kB / 1.201 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.92, allocations: 60.67 kB / 1.201 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.92, allocations: 6.344 kB / 1.201 GB, free: 7.926 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.9203, allocations: 32.22 kB / 1.201 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.9203, allocations: 13.69 kB / 1.201 GB, free: 7.906 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003087/0.9207, allocations: 264.3 kB / 1.201 GB, free: 7.734 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.9208, allocations: 88.69 kB / 1.202 GB, free: 7.684 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008644/0.9217, allocations: 323.9 kB / 1.202 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.9217, allocations: 10.31 kB / 1.202 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.9217, allocations: 0 / 1.202 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.9217, allocations: 2.5 kB / 1.202 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.9233, allocations: 0.8562 MB / 1.203 GB, free: 7.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.9233, allocations: 2.531 kB / 1.203 GB, free: 7.035 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.9236, allocations: 44.78 kB / 1.203 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.9236, allocations: 6.625 kB / 1.203 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.9236, allocations: 5.219 kB / 1.203 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.9236, allocations: 6.828 kB / 1.203 GB, free: 7.023 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9236, allocations: 2.188 kB / 1.203 GB, free: 7.023 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/0.9245, allocations: 439 kB / 1.203 GB, free: 6.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.9247, allocations: 123.6 kB / 1.203 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.9248, allocations: 12.12 kB / 1.203 GB, free: 6.652 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.9251, allocations: 17.62 kB / 1.203 GB, free: 6.648 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.9252, allocations: 15.11 kB / 1.203 GB, free: 6.648 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.9252, allocations: 16.61 kB / 1.203 GB, free: 6.641 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001129/0.9263, allocations: 0.8837 MB / 1.204 GB, free: 6.285 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9263, allocations: 0 / 1.204 GB, free: 6.285 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005029/0.9268, allocations: 116.8 kB / 1.204 GB, free: 6.25 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001806/0.927, allocations: 112.7 kB / 1.204 GB, free: 6.156 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007633/0.9278, allocations: 273.6 kB / 1.205 GB, free: 6.074 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9278, allocations: 0 / 1.205 GB, free: 6.074 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.9281, allocations: 105.8 kB / 1.205 GB, free: 6.039 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.9286, allocations: 65.09 kB / 1.205 GB, free: 5.996 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.9308, allocations: 1.386 MB / 1.206 GB, free: 5.262 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.9312, allocations: 408.9 kB / 1.207 GB, free: 5.121 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002933/0.9315, allocations: 97.88 kB / 1.207 GB, free: 5.094 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.9316, allocations: 42.67 kB / 1.207 GB, free: 5.086 MB / 1.076 GB Notification: Performance of SimCode: time 7.02e-07/0.9316, allocations: 0 / 1.207 GB, free: 5.086 MB / 1.076 GB Notification: Performance of Templates: time 0.01328/0.9449, allocations: 5.489 MB / 1.212 GB, free: 4.355 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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: 8.788102864986286]