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.001509/0.001509, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009409/0.0009409, allocations: 161.4 kB / 24.16 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.958/0.958, allocations: 177.1 MB / 204.6 MB, free: 5.469 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 2.005/2.005, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.503e-06/1.503e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.921e-05, allocations: 6.875 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002715/0.002734, allocations: 2.306 MB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.004023, allocations: 0.9432 MB / 0.7633 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.004142, allocations: 0 / 0.7633 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.004633, allocations: 176.1 kB / 0.7634 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.004755, allocations: 81.81 kB / 0.7635 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.005083, allocations: 103.7 kB / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.005303, allocations: 230.9 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.005432, allocations: 71.94 kB / 0.7639 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.005573, allocations: 135.6 kB / 0.764 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.005645, allocations: 68.36 kB / 0.7641 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.005667, allocations: 19.25 kB / 0.7641 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.005905, allocations: 143.8 kB / 0.7642 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.006042, allocations: 219.3 kB / 0.7644 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.006137, allocations: 135.4 kB / 0.7646 GB, free: 2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.006534, allocations: 485.9 kB / 0.765 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006536, allocations: 0 / 0.765 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006537, allocations: 0 / 0.765 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.006544, allocations: 0 / 0.765 GB, free: 1.523 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.0007131/0.007257, allocations: 0.8734 MB / 0.7659 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.007287, allocations: 12.02 kB / 0.7659 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.00757, allocations: 84.83 kB / 0.766 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.007889, allocations: 386.1 kB / 0.7664 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.007906, allocations: 8.375 kB / 0.7664 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.007918, allocations: 18.12 kB / 0.7664 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.008109, allocations: 116.7 kB / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.008118, allocations: 192 / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.00813, allocations: 12.31 kB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.008137, allocations: 4.359 kB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973e-05/0.008197, allocations: 35.92 kB / 0.7665 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.008693, allocations: 377.5 kB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.008863, allocations: 122.8 kB / 0.767 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.00889, allocations: 20.8 kB / 0.767 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.009201, allocations: 138.8 kB / 0.7672 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.009222, allocations: 38.55 kB / 0.7672 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.009223, allocations: 0.625 kB / 0.7672 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001784/0.009402, allocations: 102.8 kB / 0.7673 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.009429, allocations: 56.34 kB / 0.7674 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.009847, allocations: 0.6404 MB / 0.768 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.009861, allocations: 29.7 kB / 0.768 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.009968, allocations: 206.9 kB / 0.7682 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.009987, allocations: 35.69 kB / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.01002, allocations: 26.33 kB / 0.7683 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.621e-05/0.01009, allocations: 310 kB / 0.7686 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.01012, allocations: 21.25 kB / 0.7686 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.01015, allocations: 34.55 kB / 0.7686 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.276e-05/0.01021, allocations: 56.28 kB / 0.7687 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01022, allocations: 0 / 0.7687 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001237/0.01034, allocations: 116.3 kB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.01035, allocations: 4 kB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.01036, allocations: 0 / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.01037, allocations: 4.656 kB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.01045, allocations: 23.33 kB / 0.7688 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.01046, allocations: 15.86 kB / 0.7688 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.01052, allocations: 7.938 kB / 0.7688 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.01052, allocations: 4 kB / 0.7688 GB, free: 13.47 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 8.61e-05/0.01061, allocations: 112.7 kB / 0.7689 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.01065, allocations: 39.95 kB / 0.769 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.01083, allocations: 151.9 kB / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01083, allocations: 0.625 kB / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01083, allocations: 0 / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.01084, allocations: 4.75 kB / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.01105, allocations: 245.6 kB / 0.7694 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01106, allocations: 0.75 kB / 0.7694 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.01112, allocations: 24.42 kB / 0.7694 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01112, allocations: 0 / 0.7694 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.01113, allocations: 1.344 kB / 0.7694 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01113, allocations: 0 / 0.7694 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01113, allocations: 0 / 0.7694 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.01128, allocations: 251.3 kB / 0.7696 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.01137, allocations: 88.48 kB / 0.7697 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.0114, allocations: 4 kB / 0.7697 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.01147, allocations: 0.9062 kB / 0.7697 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.0115, allocations: 11.98 kB / 0.7697 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.0115, allocations: 1 kB / 0.7697 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002413/0.01174, allocations: 340.5 kB / 0.7701 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01174, allocations: 0 / 0.7701 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002227/0.01196, allocations: 76.88 kB / 0.7701 GB, free: 12.1 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.0001428/0.01211, allocations: 93.39 kB / 0.7702 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.01221, allocations: 49.7 kB / 0.7703 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.01222, allocations: 8 kB / 0.7703 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.01225, allocations: 25.92 kB / 0.7703 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01249, allocations: 56.2 kB / 0.7704 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.01358, allocations: 0.9759 MB / 0.7713 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.01369, allocations: 178.8 kB / 0.7715 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000126/0.01382, allocations: 66.25 kB / 0.7715 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.01393, allocations: 99.36 kB / 0.7716 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of SimCode: time 8.61e-07/0.01393, allocations: 0.9375 kB / 0.7716 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of Templates: time 0.008768/0.0227, allocations: 4.808 MB / 0.7763 GB, free: 5.887 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 -s gbode -gbm=radauIIA3 -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.133374529890716]