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.000958/0.000958, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009932/0.0009932, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.825/1.825, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.284e-06/2.284e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.049e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003208/0.003238, allocations: 2.419 MB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.004994, allocations: 1.442 MB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.005127, allocations: 7.938 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.005687, allocations: 184 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.005806, allocations: 81.03 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.006187, allocations: 136.7 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.00652, allocations: 344.1 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.00663, allocations: 28.92 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.006922, allocations: 203.4 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.007145, allocations: 149.6 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.007197, allocations: 32 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.007325, allocations: 75.94 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.007436, allocations: 119.6 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.007531, allocations: 113.3 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.007918, allocations: 338.8 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007922, allocations: 3.938 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007923, allocations: 4 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.007929, allocations: 0 / 0.817 GB, free: 12.11 MB / 0.7761 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.00092/0.008849, allocations: 0.7566 MB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.008889, allocations: 8.875 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005604/0.00945, allocations: 166.6 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.009938, allocations: 275.8 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.01008, allocations: 196.5 kB / 0.8184 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.01012, allocations: 16.31 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.01056, allocations: 203 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.01057, allocations: 3.344 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.01059, allocations: 8.125 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.0106, allocations: 0 / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.01088, allocations: 145.3 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01191, allocations: 0.6829 MB / 0.8194 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.01218, allocations: 151.9 kB / 0.8196 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.01232, allocations: 87.66 kB / 0.8196 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.01236, allocations: 0.5 kB / 0.8196 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.01238, allocations: 38.52 kB / 0.8197 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.01238, allocations: 0 / 0.8197 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0005652/0.01295, allocations: 291.9 kB / 0.82 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.01304, allocations: 51.41 kB / 0.82 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.01335, allocations: 454.8 kB / 0.8204 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.01338, allocations: 25.7 kB / 0.8205 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.01351, allocations: 252.4 kB / 0.8207 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.01356, allocations: 59.48 kB / 0.8208 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.01364, allocations: 47.34 kB / 0.8208 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.01378, allocations: 0.5397 MB / 0.8213 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.01391, allocations: 66.44 kB / 0.8214 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.01408, allocations: 183.7 kB / 0.8216 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.01432, allocations: 124.3 kB / 0.8217 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01432, allocations: 0 / 0.8217 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004111/0.01473, allocations: 219.3 kB / 0.8219 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01474, allocations: 4 kB / 0.8219 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01475, allocations: 0 / 0.8219 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01477, allocations: 4.938 kB / 0.8219 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.015, allocations: 55.88 kB / 0.822 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01501, allocations: 1.062 kB / 0.822 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.01513, allocations: 35.86 kB / 0.822 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.01515, allocations: 9.031 kB / 0.822 GB, free: 6.777 MB / 0.7761 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 0.000115/0.01527, allocations: 164.5 kB / 0.8222 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.01532, allocations: 44.94 kB / 0.8222 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.01537, allocations: 39.45 kB / 0.8222 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01537, allocations: 0 / 0.8222 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01537, allocations: 3.109 kB / 0.8222 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01538, allocations: 3.984 kB / 0.8223 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.01569, allocations: 350.2 kB / 0.8226 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.0157, allocations: 0 / 0.8226 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.01587, allocations: 51.89 kB / 0.8226 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01587, allocations: 0 / 0.8226 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.01589, allocations: 7.984 kB / 0.8226 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01589, allocations: 4.719 kB / 0.8226 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.0159, allocations: 0 / 0.8226 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.0163, allocations: 378.8 kB / 0.823 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.01634, allocations: 39.69 kB / 0.823 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.01637, allocations: 8 kB / 0.8231 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.01651, allocations: 23.97 kB / 0.8231 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.01658, allocations: 19.95 kB / 0.8231 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.0166, allocations: 8 kB / 0.8231 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001856/0.01678, allocations: 287.1 kB / 0.8234 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01678, allocations: 4 kB / 0.8234 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002245/0.01701, allocations: 63.95 kB / 0.8234 GB, free: 5.254 MB / 0.7761 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 0.0001087/0.01712, allocations: 99.25 kB / 0.8235 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.01746, allocations: 179.5 kB / 0.8237 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01746, allocations: 0 / 0.8237 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.01762, allocations: 121 kB / 0.8238 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.01791, allocations: 77.39 kB / 0.8239 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.01891, allocations: 0.565 MB / 0.8245 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.481e-05/0.01898, allocations: 108.3 kB / 0.8246 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.01913, allocations: 54.25 kB / 0.8246 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.01925, allocations: 24.48 kB / 0.8246 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01925, allocations: 4 kB / 0.8246 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of Templates: time 0.006288/0.02553, allocations: 4.495 MB / 0.829 GB, free: 15.54 MB / 0.7917 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 -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: 5.317913233768195]