Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.001031/0.001031, allocations: 80.8 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.0016/0.0016, allocations: 161 kB / 24.16 MB, free: 336 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.9445/0.9445, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.873/1.873, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.615e-05, allocations: 9.344 kB / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002723/0.002739, allocations: 2.453 MB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.004303, allocations: 1.46 MB / 0.7639 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.004409, allocations: 7.938 kB / 0.7639 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004276/0.004837, allocations: 184.7 kB / 0.7641 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.873e-05/0.004936, allocations: 80.62 kB / 0.7641 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.005198, allocations: 132.9 kB / 0.7643 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.00547, allocations: 343.8 kB / 0.7646 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.005555, allocations: 38.77 kB / 0.7646 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.005773, allocations: 195.6 kB / 0.7648 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.005969, allocations: 164.5 kB / 0.765 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.006005, allocations: 32.53 kB / 0.765 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.006113, allocations: 79.2 kB / 0.7651 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.006194, allocations: 123.6 kB / 0.7652 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.006269, allocations: 111.7 kB / 0.7653 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.006546, allocations: 334.9 kB / 0.7656 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.006548, allocations: 0 / 0.7656 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.006549, allocations: 4 kB / 0.7656 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.006553, allocations: 0 / 0.7656 GB, free: 0.9141 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006178/0.007171, allocations: 0.6044 MB / 0.7662 GB, free: 296 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.007198, allocations: 8.031 kB / 0.7662 GB, free: 288 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.007655, allocations: 159.3 kB / 0.7664 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.007909, allocations: 246.4 kB / 0.7666 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.008013, allocations: 195 kB / 0.7668 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.008036, allocations: 12.38 kB / 0.7668 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.008303, allocations: 192.3 kB / 0.767 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.008311, allocations: 192 / 0.767 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.00833, allocations: 8.125 kB / 0.767 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.008337, allocations: 4 kB / 0.767 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.008497, allocations: 92.61 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.009127, allocations: 407.5 kB / 0.7675 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.009309, allocations: 155.8 kB / 0.7676 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.21e-05/0.009391, allocations: 62.12 kB / 0.7677 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.009413, allocations: 4 kB / 0.7677 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.00943, allocations: 30.56 kB / 0.7677 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 8.81e-07/0.009431, allocations: 0 / 0.7677 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003283/0.009759, allocations: 201.3 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.009785, allocations: 56.09 kB / 0.768 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.009994, allocations: 319.4 kB / 0.7683 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.01002, allocations: 26.23 kB / 0.7683 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.01008, allocations: 134 kB / 0.7684 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.01012, allocations: 59.47 kB / 0.7685 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.0102, allocations: 39.19 kB / 0.7685 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.01028, allocations: 350.7 kB / 0.7688 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.01037, allocations: 38.83 kB / 0.7689 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.01048, allocations: 153.5 kB / 0.769 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.01064, allocations: 109.6 kB / 0.7691 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01064, allocations: 0.6562 kB / 0.7691 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002117/0.01085, allocations: 160 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.01087, allocations: 8 kB / 0.7693 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01087, allocations: 0 / 0.7693 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01088, allocations: 1.594 kB / 0.7693 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.01109, allocations: 47.89 kB / 0.7693 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.01109, allocations: 0 / 0.7693 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.0112, allocations: 34.3 kB / 0.7694 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.01121, allocations: 8 kB / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.459e-05/0.01131, allocations: 128.5 kB / 0.7695 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.01135, allocations: 23.97 kB / 0.7695 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.01139, allocations: 39.44 kB / 0.7696 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.0114, allocations: 6.062 kB / 0.7696 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.0114, allocations: 0 / 0.7696 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.0114, allocations: 0 / 0.7696 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.01162, allocations: 205.7 kB / 0.7698 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01163, allocations: 0 / 0.7698 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.01179, allocations: 52.89 kB / 0.7698 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01179, allocations: 0 / 0.7698 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01181, allocations: 13.61 kB / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.01181, allocations: 0 / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01181, allocations: 0 / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.01205, allocations: 296.9 kB / 0.7701 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.01208, allocations: 43.62 kB / 0.7702 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.01211, allocations: 4 kB / 0.7702 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01222, allocations: 15.98 kB / 0.7702 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.01228, allocations: 23.95 kB / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.01229, allocations: 0 / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.2e-05/0.01238, allocations: 148.1 kB / 0.7703 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01238, allocations: 0 / 0.7703 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001773/0.01256, allocations: 60 kB / 0.7704 GB, free: 11.79 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 7.48e-05/0.01264, allocations: 84.36 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.01285, allocations: 126.6 kB / 0.7706 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.01286, allocations: 4.625 kB / 0.7706 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01296, allocations: 81.69 kB / 0.7707 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.01318, allocations: 70.61 kB / 0.7707 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.01394, allocations: 0.5607 MB / 0.7713 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.56e-05/0.014, allocations: 101 kB / 0.7714 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.01413, allocations: 42.14 kB / 0.7714 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.01433, allocations: 107.3 kB / 0.7715 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of SimCode: time 4.4e-07/0.01433, allocations: 3.938 kB / 0.7715 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.005853/0.02018, allocations: 4.654 MB / 0.7761 GB, free: 6.117 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.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: 4.779864627867937]