Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.001561/0.001561, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001965/0.001965, allocations: 185.7 kB / 22.22 MB, free: 5.105 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.569/1.569, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: 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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8561/0.8581, allocations: 160.8 MB / 1.218 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005104/0.8632, allocations: 2.776 MB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.8659, allocations: 1.093 MB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.8662, allocations: 4 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008341/0.8671, allocations: 218.4 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.8673, allocations: 87.25 kB / 1.223 GB, free: 244 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.8679, allocations: 183.7 kB / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.8684, allocations: 411.7 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.8687, allocations: 150.4 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.8689, allocations: 155.3 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.8691, allocations: 187 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.757e-05/0.8692, allocations: 40 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.8696, allocations: 175.8 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.8699, allocations: 267.1 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.8702, allocations: 345.7 kB / 1.224 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.8714, allocations: 0.9785 MB / 1.225 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8714, allocations: 0 / 1.225 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8714, allocations: 0 / 1.225 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.8714, allocations: 0 / 1.225 GB, free: 13.38 MB / 0.9356 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.001671/0.8731, allocations: 1.162 MB / 1.226 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.8731, allocations: 12.03 kB / 1.226 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.8744, allocations: 240 kB / 1.227 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.8759, allocations: 0.7314 MB / 1.227 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.8759, allocations: 21.03 kB / 1.227 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.8759, allocations: 40.31 kB / 1.227 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/0.8768, allocations: 382.5 kB / 1.228 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.8769, allocations: 3.938 kB / 1.228 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.8769, allocations: 12 kB / 1.228 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.8769, allocations: 11.94 kB / 1.228 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.8779, allocations: 418.3 kB / 1.228 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.8813, allocations: 1.78 MB / 1.23 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.882, allocations: 212.6 kB / 1.23 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.8823, allocations: 96.8 kB / 1.23 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.8823, allocations: 4 kB / 1.23 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.8824, allocations: 38.56 kB / 1.23 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.8824, allocations: 0 / 1.23 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.001103/0.8835, allocations: 376.9 kB / 1.231 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.8835, allocations: 51.41 kB / 1.231 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.8852, allocations: 1.243 MB / 1.232 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.8852, allocations: 29.7 kB / 1.232 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/0.8856, allocations: 440.7 kB / 1.232 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.8857, allocations: 71.36 kB / 1.232 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.8858, allocations: 57.64 kB / 1.233 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.886, allocations: 318 kB / 1.233 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.8863, allocations: 143.9 kB / 1.233 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.8867, allocations: 213.9 kB / 1.233 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.8874, allocations: 276.9 kB / 1.233 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.8874, allocations: 12 kB / 1.233 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000943/0.8883, allocations: 466.2 kB / 1.234 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.8883, allocations: 4 kB / 1.234 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.8883, allocations: 4 kB / 1.234 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.8884, allocations: 7.922 kB / 1.234 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.8887, allocations: 59.91 kB / 1.234 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.8887, allocations: 4 kB / 1.234 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.889, allocations: 35.83 kB / 1.234 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.8891, allocations: 11.98 kB / 1.234 GB, free: 4.141 MB / 0.9356 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.0004382/0.8895, allocations: 277.6 kB / 1.234 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.8896, allocations: 87.39 kB / 1.234 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000877/0.8905, allocations: 332.2 kB / 1.235 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.8905, allocations: 4 kB / 1.235 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8905, allocations: 0 / 1.235 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8905, allocations: 0 / 1.235 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.8923, allocations: 1.002 MB / 1.236 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.8923, allocations: 4 kB / 1.236 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.8926, allocations: 43.91 kB / 1.236 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.8926, allocations: 8.188 kB / 1.236 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.8927, allocations: 3.984 kB / 1.236 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8927, allocations: 4 kB / 1.236 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.8927, allocations: 11.92 kB / 1.236 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/0.8935, allocations: 436.2 kB / 1.236 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.8938, allocations: 216.4 kB / 1.236 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.8939, allocations: 7.938 kB / 1.236 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.8942, allocations: 15.98 kB / 1.236 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.8943, allocations: 27.84 kB / 1.236 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.8943, allocations: 7.984 kB / 1.236 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001249/0.8956, allocations: 0.9067 MB / 1.237 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8956, allocations: 0 / 1.237 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004875/0.896, allocations: 107.8 kB / 1.237 GB, free: 0.5195 MB / 0.9356 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.0002435/0.8963, allocations: 115.2 kB / 1.238 GB, free: 408 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008014/0.8971, allocations: 268.9 kB / 1.238 GB, free: 140 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8971, allocations: 0 / 1.238 GB, free: 140 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.8974, allocations: 108.2 kB / 1.238 GB, free: 32 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.898, allocations: 63.56 kB / 1.238 GB, free: 15.96 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.9007, allocations: 1.397 MB / 1.239 GB, free: 14.52 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.9015, allocations: 0.9922 MB / 1.24 GB, free: 13.5 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.0003396/0.9019, allocations: 104.6 kB / 1.24 GB, free: 13.39 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.902, allocations: 43.44 kB / 1.24 GB, free: 13.35 MB / 0.9513 GB Notification: Performance of SimCode: time 1.022e-06/0.902, allocations: 0 / 1.24 GB, free: 13.35 MB / 0.9513 GB Notification: Performance of Templates: time 0.01431/0.9163, allocations: 5.75 MB / 1.246 GB, free: 7.613 MB / 0.9513 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.142535304650664]