Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009219/0.0009219, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009806/0.0009806, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 0.9657/0.9657, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.92/1.92, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.89e-05, allocations: 2.312 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002626/0.002645, allocations: 2.257 MB / 0.7622 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003817, allocations: 0.9324 MB / 0.7632 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.737e-05/0.003915, allocations: 4 kB / 0.7632 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.004367, allocations: 193.1 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.004478, allocations: 75.06 kB / 0.7634 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.004808, allocations: 104.5 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.00501, allocations: 230.9 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005136, allocations: 80.5 kB / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.005274, allocations: 133.8 kB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.005349, allocations: 63.75 kB / 0.764 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.005373, allocations: 16 kB / 0.764 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.005597, allocations: 135.8 kB / 0.7641 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.00573, allocations: 219.3 kB / 0.7644 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.005818, allocations: 133.1 kB / 0.7645 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.006211, allocations: 485.8 kB / 0.7649 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006214, allocations: 0 / 0.7649 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.006216, allocations: 0 / 0.7649 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.006221, allocations: 0 / 0.7649 GB, free: 1.617 MB / 0.7136 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.000901/0.007122, allocations: 0.8793 MB / 0.7658 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.00716, allocations: 8.031 kB / 0.7658 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.00753, allocations: 95.33 kB / 0.7659 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.007933, allocations: 382.1 kB / 0.7663 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.007957, allocations: 12.38 kB / 0.7663 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.007979, allocations: 15.12 kB / 0.7663 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.008184, allocations: 113.6 kB / 0.7664 GB, free: 64 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.008192, allocations: 4.188 kB / 0.7664 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.008205, allocations: 4.375 kB / 0.7664 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.008212, allocations: 4.375 kB / 0.7664 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.008289, allocations: 33.02 kB / 0.7664 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.008891, allocations: 386.4 kB / 0.7668 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.009081, allocations: 117.5 kB / 0.7669 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.009119, allocations: 28.27 kB / 0.767 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003444/0.009463, allocations: 136.1 kB / 0.7671 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.009485, allocations: 34.16 kB / 0.7671 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.009486, allocations: 3.938 kB / 0.7671 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002148/0.009701, allocations: 113.6 kB / 0.7672 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.009732, allocations: 51.41 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.01029, allocations: 0.6404 MB / 0.7679 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.01031, allocations: 25.7 kB / 0.7679 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01044, allocations: 206 kB / 0.7681 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.01046, allocations: 39.11 kB / 0.7682 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.01051, allocations: 25.72 kB / 0.7682 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.01059, allocations: 314 kB / 0.7685 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.01062, allocations: 14.83 kB / 0.7685 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.453e-05/0.01067, allocations: 34.5 kB / 0.7685 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.082e-05/0.01075, allocations: 58.67 kB / 0.7686 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01075, allocations: 0 / 0.7686 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001602/0.01091, allocations: 113.8 kB / 0.7687 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.01093, allocations: 4 kB / 0.7687 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01093, allocations: 4.5 kB / 0.7687 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01094, allocations: 0.5938 kB / 0.7687 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/0.01104, allocations: 24.7 kB / 0.7687 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.01105, allocations: 3.938 kB / 0.7687 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.461e-05/0.01113, allocations: 9.094 kB / 0.7687 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01114, allocations: 4 kB / 0.7687 GB, free: 13.56 MB / 0.7292 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.000112/0.01125, allocations: 121.6 kB / 0.7689 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.01131, allocations: 43.94 kB / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.01153, allocations: 140.5 kB / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.01153, allocations: 4 kB / 0.769 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01153, allocations: 1.062 kB / 0.769 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01154, allocations: 3.938 kB / 0.769 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.01182, allocations: 237.6 kB / 0.7693 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01182, allocations: 9.094 kB / 0.7693 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.01189, allocations: 19.98 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.0119, allocations: 4.938 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.0119, allocations: 0 / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01191, allocations: 0 / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01191, allocations: 0.9062 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.0121, allocations: 251.2 kB / 0.7695 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.01222, allocations: 91.27 kB / 0.7696 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.01226, allocations: 4 kB / 0.7696 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01236, allocations: 4 kB / 0.7696 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.01239, allocations: 7.984 kB / 0.7697 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.01239, allocations: 3.984 kB / 0.7697 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003196/0.01271, allocations: 336.5 kB / 0.77 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01271, allocations: 0 / 0.77 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002986/0.01301, allocations: 79.81 kB / 0.7701 GB, free: 12.19 MB / 0.7292 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.0001556/0.01317, allocations: 91.3 kB / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.01329, allocations: 56.8 kB / 0.7702 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/0.0133, allocations: 8 kB / 0.7702 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.01334, allocations: 28.78 kB / 0.7702 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01364, allocations: 53.91 kB / 0.7703 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.01492, allocations: 0.9747 MB / 0.7712 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.01507, allocations: 174.1 kB / 0.7714 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.01522, allocations: 62.78 kB / 0.7715 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.01536, allocations: 109 kB / 0.7716 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/0.01536, allocations: 0 / 0.7716 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.01007/0.02543, allocations: 4.8 MB / 0.7762 GB, free: 5.984 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.060983696952462]