Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001558/0.001558, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001833/0.001833, allocations: 221 kB / 23.01 MB, free: 4.609 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.8 MB / 0.7714 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: 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_11_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_11_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.002068/0.002068, allocations: 66.38 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3596, allocations: 170 MB / 1.285 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004659/0.3643, allocations: 2.796 MB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3663, allocations: 1.1 MB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.3665, allocations: 4 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.3672, allocations: 218.5 kB / 1.289 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.3674, allocations: 87.25 kB / 1.289 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.3679, allocations: 187.7 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.3683, allocations: 407.7 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.3686, allocations: 154.3 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.3688, allocations: 155.3 kB / 1.29 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.369, allocations: 183 kB / 1.29 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.3691, allocations: 40 kB / 1.29 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.3694, allocations: 179.8 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.3696, allocations: 263.1 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.3699, allocations: 353.6 kB / 1.291 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.371, allocations: 0.972 MB / 1.292 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.371, allocations: 4 kB / 1.292 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.371, allocations: 0 / 1.292 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.371, allocations: 0 / 1.292 GB, free: 4.262 MB / 0.9825 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.001564/0.3726, allocations: 1.083 MB / 1.293 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3726, allocations: 8.031 kB / 1.293 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.3739, allocations: 244 kB / 1.293 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.3753, allocations: 0.6671 MB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.3753, allocations: 21.03 kB / 1.293 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.3754, allocations: 36.38 kB / 1.294 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008252/0.3762, allocations: 378.5 kB / 1.294 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3762, allocations: 3.938 kB / 1.294 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.3762, allocations: 12 kB / 1.294 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3763, allocations: 8 kB / 1.294 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009836/0.3772, allocations: 422.3 kB / 1.294 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.3805, allocations: 1.602 MB / 1.296 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.3811, allocations: 209 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.3814, allocations: 96.75 kB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.445e-05/0.3815, allocations: 11.92 kB / 1.296 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.3815, allocations: 38.56 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.3815, allocations: 0 / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.00108/0.3826, allocations: 375.2 kB / 1.297 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3826, allocations: 59.39 kB / 1.297 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.3842, allocations: 1.243 MB / 1.298 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.3842, allocations: 29.7 kB / 1.298 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.3846, allocations: 436.5 kB / 1.298 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.3847, allocations: 71.38 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3848, allocations: 49.7 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.385, allocations: 318 kB / 1.299 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.3853, allocations: 147.9 kB / 1.299 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.3857, allocations: 207.2 kB / 1.299 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.3864, allocations: 279.9 kB / 1.299 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.3864, allocations: 4 kB / 1.299 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009532/0.3873, allocations: 464.8 kB / 1.3 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3873, allocations: 4 kB / 1.3 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.3874, allocations: 4 kB / 1.3 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3874, allocations: 3.938 kB / 1.3 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.3877, allocations: 63.89 kB / 1.3 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3877, allocations: 4 kB / 1.3 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.388, allocations: 39.83 kB / 1.3 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.388, allocations: 8 kB / 1.3 GB, free: 11.44 MB / 0.9981 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.000346/0.3884, allocations: 273.6 kB / 1.3 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3885, allocations: 91.39 kB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008541/0.3893, allocations: 329.6 kB / 1.301 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.3894, allocations: 4 kB / 1.301 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3894, allocations: 0 / 1.301 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3894, allocations: 0 / 1.301 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.3911, allocations: 0.9678 MB / 1.301 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3911, allocations: 0 / 1.301 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.3914, allocations: 44.09 kB / 1.302 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3914, allocations: 8 kB / 1.302 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3914, allocations: 4 kB / 1.302 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3914, allocations: 3.984 kB / 1.302 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3914, allocations: 7.938 kB / 1.302 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.3922, allocations: 446.2 kB / 1.302 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.3925, allocations: 135.3 kB / 1.302 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.3926, allocations: 7.984 kB / 1.302 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.3929, allocations: 19.92 kB / 1.302 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.3929, allocations: 31.84 kB / 1.302 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3929, allocations: 8 kB / 1.302 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001173/0.3941, allocations: 0.9028 MB / 1.303 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3941, allocations: 0 / 1.303 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00047/0.3946, allocations: 103.8 kB / 1.303 GB, free: 7.957 MB / 0.9981 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.0002343/0.3948, allocations: 119.2 kB / 1.303 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007614/0.3956, allocations: 267.7 kB / 1.304 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3956, allocations: 4 kB / 1.304 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.3959, allocations: 96.2 kB / 1.304 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.3964, allocations: 59.48 kB / 1.304 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.399, allocations: 1.468 MB / 1.305 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.3997, allocations: 0.9876 MB / 1.306 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.3999, allocations: 51.42 kB / 1.306 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/0.3999, allocations: 4 kB / 1.306 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.01483/0.4147, allocations: 9.034 MB / 1.315 GB, free: 11.8 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.923865998978727]