Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001438/0.001438, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001627/0.001627, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.457/2.457, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.268e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002612/0.002635, allocations: 2.263 MB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003884, allocations: 0.9325 MB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.00398, allocations: 0 / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.004424, allocations: 179.1 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.004537, allocations: 79.38 kB / 0.842 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.004892, allocations: 115.7 kB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.005111, allocations: 227 kB / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.005241, allocations: 64 kB / 0.8424 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.005375, allocations: 131.6 kB / 0.8425 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.005444, allocations: 71.73 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.005466, allocations: 15.94 kB / 0.8426 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.005689, allocations: 139.8 kB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.005817, allocations: 215.3 kB / 0.8429 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.005905, allocations: 135.5 kB / 0.843 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006425/0.006547, allocations: 473.9 kB / 0.8435 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.006551, allocations: 0 / 0.8435 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006552, allocations: 0 / 0.8435 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.006558, allocations: 0 / 0.8435 GB, free: 9.191 MB / 0.8073 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.0007213/0.00728, allocations: 0.8742 MB / 0.8443 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.007311, allocations: 8.625 kB / 0.8443 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.007603, allocations: 96.78 kB / 0.8444 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.007913, allocations: 378.1 kB / 0.8448 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.007933, allocations: 12.38 kB / 0.8448 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.007951, allocations: 16.31 kB / 0.8448 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.008174, allocations: 113.7 kB / 0.8449 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.008184, allocations: 4.188 kB / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.008199, allocations: 8.375 kB / 0.8449 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.008207, allocations: 4.375 kB / 0.8449 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.008303, allocations: 39.86 kB / 0.845 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.008792, allocations: 381.4 kB / 0.8453 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.008962, allocations: 124.1 kB / 0.8455 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.00899, allocations: 20.84 kB / 0.8455 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.009266, allocations: 139.9 kB / 0.8456 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.009289, allocations: 42.5 kB / 0.8457 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.00929, allocations: 0 / 0.8457 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001804/0.009471, allocations: 105.6 kB / 0.8458 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.009499, allocations: 55.34 kB / 0.8458 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.009902, allocations: 0.6404 MB / 0.8464 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.009915, allocations: 25.7 kB / 0.8465 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.01001, allocations: 206 kB / 0.8467 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.01003, allocations: 35.72 kB / 0.8467 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.01007, allocations: 29.67 kB / 0.8467 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.01014, allocations: 314 kB / 0.847 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.01016, allocations: 14.83 kB / 0.847 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.0102, allocations: 34.55 kB / 0.8471 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.01026, allocations: 53.69 kB / 0.8471 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01026, allocations: 0 / 0.8471 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001151/0.01037, allocations: 116.3 kB / 0.8472 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01039, allocations: 5.875 kB / 0.8472 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01039, allocations: 7.984 kB / 0.8472 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.01041, allocations: 0 / 0.8472 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.01049, allocations: 23.92 kB / 0.8473 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.01049, allocations: 7.875 kB / 0.8473 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.01055, allocations: 12 kB / 0.8473 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.01056, allocations: 8 kB / 0.8473 GB, free: 5.098 MB / 0.8073 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 8.575e-05/0.01065, allocations: 112.7 kB / 0.8474 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.01069, allocations: 39.95 kB / 0.8474 GB, free: 4.938 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.01086, allocations: 148.6 kB / 0.8476 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01086, allocations: 7.984 kB / 0.8476 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01086, allocations: 0 / 0.8476 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01087, allocations: 3.938 kB / 0.8476 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.01107, allocations: 245.5 kB / 0.8478 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01107, allocations: 0 / 0.8478 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.01113, allocations: 15.98 kB / 0.8478 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.01113, allocations: 8 kB / 0.8479 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.01114, allocations: 0 / 0.8479 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01114, allocations: 0 / 0.8479 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01114, allocations: 0 / 0.8479 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.01129, allocations: 246.1 kB / 0.8481 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.01139, allocations: 87.45 kB / 0.8482 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.01142, allocations: 0 / 0.8482 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.01149, allocations: 4 kB / 0.8482 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.01151, allocations: 7.984 kB / 0.8482 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.01152, allocations: 8 kB / 0.8482 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002321/0.01175, allocations: 340.5 kB / 0.8485 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01175, allocations: 0 / 0.8485 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001855/0.01193, allocations: 71.8 kB / 0.8486 GB, free: 3.727 MB / 0.8073 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.0001322/0.01207, allocations: 92.36 kB / 0.8487 GB, free: 3.629 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.376e-05/0.01216, allocations: 48.77 kB / 0.8487 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.01217, allocations: 8 kB / 0.8487 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/0.0122, allocations: 32.91 kB / 0.8488 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.01242, allocations: 55.3 kB / 0.8488 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.01343, allocations: 0.9687 MB / 0.8498 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01354, allocations: 177.1 kB / 0.8499 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003665/0.01391, allocations: 57.33 kB / 0.85 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.01402, allocations: 107.4 kB / 0.8501 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of SimCode: time 6.12e-07/0.01402, allocations: 0 / 0.8501 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of Templates: time 0.00841/0.02243, allocations: 4.796 MB / 0.8548 GB, free: 13.41 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.440466340165585]