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.001448/0.001448, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001454/0.001454, allocations: 169 kB / 24.28 MB, free: 276 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.9172/0.9172, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.885/1.885, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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.024e-06/2.024e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.765e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004322/0.00435, allocations: 2.412 MB / 0.8139 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.006721, allocations: 1.439 MB / 0.8153 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.006891, allocations: 4 kB / 0.8153 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.00756, allocations: 187.4 kB / 0.8155 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.007724, allocations: 74.2 kB / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.00817, allocations: 144 kB / 0.8157 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.008612, allocations: 339.2 kB / 0.816 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.008745, allocations: 29.7 kB / 0.816 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.009085, allocations: 196.7 kB / 0.8162 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.009357, allocations: 151.6 kB / 0.8164 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.00942, allocations: 33.38 kB / 0.8164 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.009571, allocations: 75.89 kB / 0.8165 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.009703, allocations: 123.6 kB / 0.8166 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.009838, allocations: 115.7 kB / 0.8167 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.01031, allocations: 336.6 kB / 0.817 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.01032, allocations: 4 kB / 0.817 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01032, allocations: 0 / 0.817 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.01033, allocations: 0 / 0.817 GB, free: 12.46 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.001349/0.01168, allocations: 0.7531 MB / 0.8177 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.01172, allocations: 8.031 kB / 0.8178 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009073/0.01263, allocations: 175 kB / 0.8179 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.01311, allocations: 280.2 kB / 0.8182 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.01329, allocations: 195 kB / 0.8184 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.01333, allocations: 12.38 kB / 0.8184 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.01387, allocations: 204.4 kB / 0.8186 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01388, allocations: 192 / 0.8186 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.01391, allocations: 4.125 kB / 0.8186 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01393, allocations: 4.5 kB / 0.8186 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.01438, allocations: 150.4 kB / 0.8187 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.01578, allocations: 0.6803 MB / 0.8194 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.01618, allocations: 155.1 kB / 0.8195 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.01638, allocations: 83.66 kB / 0.8196 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.01641, allocations: 4 kB / 0.8196 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.01644, allocations: 37.39 kB / 0.8197 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.01644, allocations: 0 / 0.8197 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0008251/0.01727, allocations: 287.2 kB / 0.8199 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.01731, allocations: 55.34 kB / 0.82 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.01782, allocations: 446.8 kB / 0.8204 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.01786, allocations: 33.7 kB / 0.8204 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.01806, allocations: 252.2 kB / 0.8207 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.01813, allocations: 55.48 kB / 0.8207 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.01825, allocations: 52.41 kB / 0.8208 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.01845, allocations: 0.539 MB / 0.8213 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.01866, allocations: 65.05 kB / 0.8214 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.01893, allocations: 189.3 kB / 0.8216 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.0193, allocations: 119.7 kB / 0.8217 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.01931, allocations: 0 / 0.8217 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005558/0.01986, allocations: 223.1 kB / 0.8219 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.01988, allocations: 4 kB / 0.8219 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01989, allocations: 1.344 kB / 0.8219 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.0199, allocations: 0 / 0.8219 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.02036, allocations: 51.94 kB / 0.8219 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.02037, allocations: 1.031 kB / 0.8219 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.02057, allocations: 27.92 kB / 0.822 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.02058, allocations: 4.656 kB / 0.822 GB, free: 7.137 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.0001507/0.02073, allocations: 175 kB / 0.8221 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.02081, allocations: 39.77 kB / 0.8222 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.02086, allocations: 43.44 kB / 0.8222 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02087, allocations: 0 / 0.8222 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.02087, allocations: 0 / 0.8222 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.02087, allocations: 0 / 0.8222 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.02124, allocations: 354.1 kB / 0.8226 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02125, allocations: 1.625 kB / 0.8226 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.02144, allocations: 47.95 kB / 0.8226 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.02145, allocations: 0 / 0.8226 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.02147, allocations: 8.578 kB / 0.8226 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.02147, allocations: 4 kB / 0.8226 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.02147, allocations: 8.625 kB / 0.8226 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.02195, allocations: 373.7 kB / 0.823 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.022, allocations: 51.72 kB / 0.823 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.02204, allocations: 4 kB / 0.823 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.02221, allocations: 19.97 kB / 0.8231 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.02228, allocations: 19.97 kB / 0.8231 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.0223, allocations: 7.984 kB / 0.8231 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002007/0.0225, allocations: 291.1 kB / 0.8234 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0225, allocations: 0 / 0.8234 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002276/0.02273, allocations: 64 kB / 0.8234 GB, free: 5.602 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.0001189/0.02285, allocations: 107.2 kB / 0.8235 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.02322, allocations: 173.8 kB / 0.8237 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02322, allocations: 0 / 0.8237 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.02338, allocations: 115.5 kB / 0.8238 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.02369, allocations: 73.39 kB / 0.8239 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.02475, allocations: 0.5728 MB / 0.8244 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.779e-05/0.02481, allocations: 108.3 kB / 0.8245 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.02498, allocations: 42.27 kB / 0.8246 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.02509, allocations: 28.48 kB / 0.8246 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of SimCode: time 1.353e-06/0.02509, allocations: 4 kB / 0.8246 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of Templates: time 0.006604/0.0317, allocations: 4.508 MB / 0.829 GB, free: 15.9 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.2408063870389014]