Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001889/0.001889, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.00225/0.00225, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 63.91 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3049, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003676/0.3086, allocations: 2.262 MB / 1.178 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3101, allocations: 0.9485 MB / 1.179 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.3103, allocations: 0 / 1.179 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.3109, allocations: 190.8 kB / 1.179 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3111, allocations: 67.5 kB / 1.179 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.3114, allocations: 115.7 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.3117, allocations: 231.1 kB / 1.18 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.3119, allocations: 85.67 kB / 1.18 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.3121, allocations: 83.53 kB / 1.18 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3122, allocations: 99.42 kB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.3123, allocations: 20 kB / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.3126, allocations: 163.8 kB / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.3128, allocations: 211.3 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.3131, allocations: 266 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008403/0.3139, allocations: 0.7231 MB / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3139, allocations: 0 / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/0.314, allocations: 0 / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.314, allocations: 0 / 1.181 GB, free: 412 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001359/0.3153, allocations: 0.9979 MB / 1.182 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3154, allocations: 12.03 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.3159, allocations: 124.3 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/0.3168, allocations: 0.602 MB / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3169, allocations: 8.375 kB / 1.183 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3169, allocations: 12.31 kB / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.3173, allocations: 199.2 kB / 1.183 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3173, allocations: 4.125 kB / 1.183 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.3173, allocations: 7.938 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3174, allocations: 4 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.3178, allocations: 239.9 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3191, allocations: 0.9139 MB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.3198, allocations: 314.5 kB / 1.184 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.32, allocations: 101 kB / 1.185 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007375/0.3207, allocations: 248.9 kB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3208, allocations: 30.56 kB / 1.185 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 3.667e-06/0.3208, allocations: 0 / 1.185 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0008545/0.3216, allocations: 413 kB / 1.185 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.3217, allocations: 55.34 kB / 1.185 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.323, allocations: 0.9974 MB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.323, allocations: 25.7 kB / 1.186 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.3233, allocations: 348.1 kB / 1.187 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.3234, allocations: 31.73 kB / 1.187 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.3234, allocations: 25.7 kB / 1.187 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3236, allocations: 314 kB / 1.187 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3238, allocations: 95.95 kB / 1.187 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.324, allocations: 118.5 kB / 1.187 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.3245, allocations: 222.8 kB / 1.187 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3245, allocations: 0 / 1.187 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000597/0.3251, allocations: 328.9 kB / 1.188 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3251, allocations: 9.719 kB / 1.188 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3251, allocations: 0 / 1.188 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3251, allocations: 3.938 kB / 1.188 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3253, allocations: 31.91 kB / 1.188 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3253, allocations: 0 / 1.188 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.3255, allocations: 16.02 kB / 1.188 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3255, allocations: 7.984 kB / 1.188 GB, free: 9.34 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002623/0.3258, allocations: 241.8 kB / 1.188 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/0.3259, allocations: 75.47 kB / 1.188 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/0.3266, allocations: 336.4 kB / 1.188 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3266, allocations: 0 / 1.188 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3266, allocations: 4 kB / 1.188 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3266, allocations: 0 / 1.188 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.3272, allocations: 0.5285 MB / 1.189 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3272, allocations: 3.938 kB / 1.189 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.3274, allocations: 27.91 kB / 1.189 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3274, allocations: 0 / 1.189 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3274, allocations: 0 / 1.189 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3274, allocations: 0 / 1.189 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3274, allocations: 4 kB / 1.189 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.328, allocations: 410.9 kB / 1.189 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.3283, allocations: 188.5 kB / 1.19 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.3283, allocations: 4.281 kB / 1.19 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3285, allocations: 8 kB / 1.19 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.3285, allocations: 7.984 kB / 1.19 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.3286, allocations: 7.938 kB / 1.19 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009379/0.3295, allocations: 0.7215 MB / 1.19 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3295, allocations: 0 / 1.19 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00035/0.3299, allocations: 67.89 kB / 1.19 GB, free: 6.633 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0002145/0.3301, allocations: 115.2 kB / 1.19 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005129/0.3306, allocations: 211.8 kB / 1.191 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3306, allocations: 3.938 kB / 1.191 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.3309, allocations: 111.9 kB / 1.191 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.3313, allocations: 59.36 kB / 1.191 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3331, allocations: 1.236 MB / 1.192 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/0.3338, allocations: 0.9453 MB / 1.193 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3339, allocations: 31.44 kB / 1.193 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3339, allocations: 0 / 1.193 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.01186/0.3458, allocations: 7.244 MB / 1.2 GB, free: 12.66 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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: 10.653192739002407]