Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001962/0.001962, allocations: 92.42 kB / 19.69 MB, free: 2.137 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.001589/0.001589, allocations: 211.3 kB / 23 MB, free: 4.938 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.209/3.209, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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: 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_12_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_12_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.002133/0.002133, allocations: 67.75 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3681, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.00428/0.3724, allocations: 2.574 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3741, allocations: 1.006 MB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.3743, allocations: 12 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.3749, allocations: 198.6 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.375, allocations: 87.31 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.3755, allocations: 179.6 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.376, allocations: 403.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.3763, allocations: 158.3 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.3765, allocations: 159.2 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.3767, allocations: 187 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.3767, allocations: 47.94 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.3771, allocations: 175.8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.3773, allocations: 255.2 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.3775, allocations: 262.2 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3786, allocations: 0.9837 MB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3786, allocations: 0 / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3786, allocations: 0 / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.3786, allocations: 0 / 1.334 GB, free: 10.26 MB / 1.029 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.001866/0.3805, allocations: 1.09 MB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3805, allocations: 8.031 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.3819, allocations: 240 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.3834, allocations: 0.6711 MB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.3834, allocations: 21.03 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.3835, allocations: 36.31 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008963/0.3844, allocations: 404.2 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3844, allocations: 7.922 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.3844, allocations: 16 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3844, allocations: 8 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.3855, allocations: 418.4 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.3885, allocations: 1.393 MB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.3892, allocations: 206.6 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.3895, allocations: 100.8 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.3896, allocations: 11.94 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3896, allocations: 30.56 kB / 1.338 GB, free: 5.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.3896, allocations: 0 / 1.338 GB, free: 5.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001136/0.3907, allocations: 374.6 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.3908, allocations: 59.34 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.3923, allocations: 1.218 MB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.3924, allocations: 33.7 kB / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.3928, allocations: 428.3 kB / 1.34 GB, free: 3.336 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/0.3928, allocations: 75.73 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3929, allocations: 53.64 kB / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3931, allocations: 318 kB / 1.341 GB, free: 2.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.3934, allocations: 143.9 kB / 1.341 GB, free: 2.746 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.3939, allocations: 227.6 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.3946, allocations: 283.4 kB / 1.341 GB, free: 2.203 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3946, allocations: 0 / 1.341 GB, free: 2.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009587/0.3955, allocations: 460.7 kB / 1.342 GB, free: 1.746 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3955, allocations: 8.156 kB / 1.342 GB, free: 1.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3956, allocations: 4 kB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.3956, allocations: 0 / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.3959, allocations: 67.77 kB / 1.342 GB, free: 1.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3959, allocations: 4 kB / 1.342 GB, free: 1.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3962, allocations: 35.77 kB / 1.342 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.3963, allocations: 23.97 kB / 1.342 GB, free: 1.605 MB / 1.029 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.0003443/0.3966, allocations: 266.2 kB / 1.342 GB, free: 1.336 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.3967, allocations: 83.44 kB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000885/0.3976, allocations: 326.3 kB / 1.342 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3976, allocations: 3.938 kB / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3976, allocations: 4 kB / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3976, allocations: 0 / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.3993, allocations: 0.855 MB / 1.343 GB, free: 8 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.3993, allocations: 4 kB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.3996, allocations: 48.16 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3996, allocations: 0 / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.3997, allocations: 7.984 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3997, allocations: 7.938 kB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3997, allocations: 7.922 kB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008415/0.4005, allocations: 441 kB / 1.344 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.4008, allocations: 127.4 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.255e-05/0.4009, allocations: 8 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.4012, allocations: 19.98 kB / 1.344 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.4012, allocations: 15.97 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.4012, allocations: 8 kB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001107/0.4024, allocations: 0.8864 MB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4024, allocations: 0 / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004422/0.4028, allocations: 111.7 kB / 1.345 GB, free: 14.29 MB / 1.045 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.0002173/0.403, allocations: 115.1 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007607/0.4038, allocations: 270.5 kB / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4038, allocations: 0 / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.4041, allocations: 104.1 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.4046, allocations: 65.05 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.407, allocations: 1.391 MB / 1.347 GB, free: 12.3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.4075, allocations: 401.5 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003012/0.4078, allocations: 96.53 kB / 1.347 GB, free: 11.78 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.408, allocations: 43.42 kB / 1.347 GB, free: 11.74 MB / 1.045 GB Notification: Performance of SimCode: time 3.8e-07/0.408, allocations: 0 / 1.347 GB, free: 11.74 MB / 1.045 GB Notification: Performance of Templates: time 0.01396/0.4219, allocations: 6.311 MB / 1.353 GB, free: 5.457 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.258696472010342]