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.0009693/0.0009693, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00109/0.00109, allocations: 177 kB / 23.36 MB, free: 1.129 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.552/2.552, allocations: 438.8 MB / 0.6826 GB, free: 13.55 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 2.044e-06/2.044e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.815e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00432/0.004348, allocations: 2.302 MB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.006011, allocations: 0.9247 MB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.006141, allocations: 7.938 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.006748, allocations: 183.1 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.006919, allocations: 75.38 kB / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.007291, allocations: 103.7 kB / 0.8422 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.007594, allocations: 235 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.007755, allocations: 71.94 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.007951, allocations: 123.6 kB / 0.8426 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.008058, allocations: 71.73 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.00809, allocations: 16 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.00844, allocations: 143.8 kB / 0.8428 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.008629, allocations: 211.4 kB / 0.843 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.008837, allocations: 127.5 kB / 0.8431 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.009314, allocations: 485.8 kB / 0.8436 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.009318, allocations: 0 / 0.8436 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.272e-06/0.009319, allocations: 4 kB / 0.8436 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.009326, allocations: 0 / 0.8436 GB, free: 9.062 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.000758/0.01008, allocations: 0.8703 MB / 0.8444 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.01011, allocations: 12.62 kB / 0.8444 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.0104, allocations: 92.72 kB / 0.8445 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.01073, allocations: 382.2 kB / 0.8449 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.01075, allocations: 12.38 kB / 0.8449 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.01077, allocations: 12.38 kB / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.01095, allocations: 117.6 kB / 0.845 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.01096, allocations: 192 / 0.845 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.01097, allocations: 4.375 kB / 0.845 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.01098, allocations: 4.375 kB / 0.845 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.15e-05/0.01104, allocations: 47.91 kB / 0.8451 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.01147, allocations: 381.4 kB / 0.8454 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.01163, allocations: 124 kB / 0.8456 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.01166, allocations: 12.86 kB / 0.8456 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.01197, allocations: 143.9 kB / 0.8457 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.01199, allocations: 34.56 kB / 0.8457 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.01199, allocations: 0 / 0.8457 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001729/0.01216, allocations: 113.6 kB / 0.8459 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.01219, allocations: 51.41 kB / 0.8459 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.01259, allocations: 0.6443 MB / 0.8465 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.0126, allocations: 29.64 kB / 0.8466 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01272, allocations: 210 kB / 0.8468 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.01274, allocations: 31.73 kB / 0.8468 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.01278, allocations: 25.66 kB / 0.8468 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.08e-05/0.01285, allocations: 314 kB / 0.8471 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.01288, allocations: 14.81 kB / 0.8471 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.01291, allocations: 38.52 kB / 0.8472 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.01298, allocations: 57.67 kB / 0.8472 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01298, allocations: 0 / 0.8472 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001268/0.01311, allocations: 120.3 kB / 0.8473 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.01312, allocations: 4.062 kB / 0.8473 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01313, allocations: 4 kB / 0.8473 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.01314, allocations: 0 / 0.8473 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.01322, allocations: 27.98 kB / 0.8474 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01323, allocations: 3.938 kB / 0.8474 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.01329, allocations: 11.92 kB / 0.8474 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.0133, allocations: 4 kB / 0.8474 GB, free: 4.969 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 0.0001609/0.01346, allocations: 116.6 kB / 0.8475 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.0135, allocations: 39.95 kB / 0.8475 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.01367, allocations: 144.6 kB / 0.8477 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01368, allocations: 3.984 kB / 0.8477 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01368, allocations: 8 kB / 0.8477 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01368, allocations: 3.938 kB / 0.8477 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.01388, allocations: 245.5 kB / 0.8479 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01389, allocations: 0 / 0.8479 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.01395, allocations: 15.98 kB / 0.8479 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01395, allocations: 7.984 kB / 0.8479 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.01396, allocations: 0 / 0.8479 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.01396, allocations: 3.938 kB / 0.8479 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01396, allocations: 0 / 0.8479 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.0141, allocations: 250.1 kB / 0.8482 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.01419, allocations: 87.45 kB / 0.8483 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.01422, allocations: 0 / 0.8483 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.01428, allocations: 4 kB / 0.8483 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.01431, allocations: 7.984 kB / 0.8483 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.01431, allocations: 4 kB / 0.8483 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000238/0.01455, allocations: 340.5 kB / 0.8486 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01455, allocations: 0 / 0.8486 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001937/0.01475, allocations: 63.88 kB / 0.8487 GB, free: 3.598 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.0001301/0.01488, allocations: 100.3 kB / 0.8488 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.01497, allocations: 44.78 kB / 0.8488 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.01498, allocations: 8 kB / 0.8488 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.01501, allocations: 32.77 kB / 0.8488 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01524, allocations: 55.3 kB / 0.8489 GB, free: 3.348 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.01624, allocations: 0.9688 MB / 0.8498 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.01635, allocations: 173.2 kB / 0.85 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.01645, allocations: 61.33 kB / 0.8501 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.01657, allocations: 107.4 kB / 0.8502 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of SimCode: time 7.22e-07/0.01657, allocations: 0 / 0.8502 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of Templates: time 0.008061/0.02464, allocations: 4.787 MB / 0.8548 GB, free: 13.29 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 -s gbode -gbm=radauIIA3 -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.443932799156755]