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.0009875/0.0009875, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001017/0.001017, allocations: 181 kB / 24.09 MB, free: 416 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.9198/0.9198, allocations: 177.2 MB / 204.5 MB, free: 5.5 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.79/1.79, allocations: 377.9 MB / 0.6239 GB, free: 8.422 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 1.513e-06/1.513e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.166e-05, allocations: 2.312 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002183/0.002195, allocations: 2.41 MB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.003475, allocations: 1.418 MB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.003571, allocations: 4.906 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.003939, allocations: 183.8 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.00402, allocations: 77.61 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.004242, allocations: 144.8 kB / 0.8161 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.004487, allocations: 338.6 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.004568, allocations: 29.45 kB / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.004761, allocations: 197.1 kB / 0.8167 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.004955, allocations: 163.6 kB / 0.8168 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.004993, allocations: 35.94 kB / 0.8169 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.005092, allocations: 76.56 kB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000469/0.005561, allocations: 119.6 kB / 0.817 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.68e-05/0.005638, allocations: 116.4 kB / 0.8171 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.005912, allocations: 334.9 kB / 0.8175 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005914, allocations: 4.625 kB / 0.8175 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005915, allocations: 0.5625 kB / 0.8175 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.005919, allocations: 0 / 0.8175 GB, free: 11.86 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.000708/0.006627, allocations: 0.7453 MB / 0.8182 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.006663, allocations: 15.95 kB / 0.8182 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.007116, allocations: 167.7 kB / 0.8184 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.007362, allocations: 274.1 kB / 0.8186 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.007469, allocations: 191 kB / 0.8188 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.007492, allocations: 12.38 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.007755, allocations: 188.6 kB / 0.819 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.007763, allocations: 192 / 0.819 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.007782, allocations: 9.25 kB / 0.819 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.00779, allocations: 4 kB / 0.819 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.007955, allocations: 110.6 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.008673, allocations: 0.6026 MB / 0.8197 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.008861, allocations: 132.1 kB / 0.8198 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.008943, allocations: 68.31 kB / 0.8199 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.008969, allocations: 4.906 kB / 0.8199 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.00899, allocations: 37.39 kB / 0.82 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 8.92e-07/0.008991, allocations: 1.094 kB / 0.82 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.000358/0.009349, allocations: 249.2 kB / 0.8202 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.009373, allocations: 60.5 kB / 0.8202 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.009612, allocations: 434.6 kB / 0.8207 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.009634, allocations: 29.7 kB / 0.8207 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.009746, allocations: 256.3 kB / 0.8209 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.009788, allocations: 59.47 kB / 0.821 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.009852, allocations: 47.33 kB / 0.821 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.009982, allocations: 0.5439 MB / 0.8216 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.723e-05/0.01006, allocations: 52.55 kB / 0.8216 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.01017, allocations: 175 kB / 0.8218 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.01031, allocations: 101 kB / 0.8219 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01032, allocations: 0 / 0.8219 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002342/0.01055, allocations: 189.3 kB / 0.8221 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01056, allocations: 7.094 kB / 0.8221 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.01057, allocations: 4 kB / 0.8221 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.01058, allocations: 0.5938 kB / 0.8221 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.01075, allocations: 49.3 kB / 0.8221 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.01075, allocations: 0 / 0.8221 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01085, allocations: 29.5 kB / 0.8221 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.01087, allocations: 7.984 kB / 0.8222 GB, free: 6.824 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 8.838e-05/0.01096, allocations: 160.5 kB / 0.8223 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.01101, allocations: 43.81 kB / 0.8223 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.01104, allocations: 47.44 kB / 0.8224 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01105, allocations: 0 / 0.8224 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01105, allocations: 3.984 kB / 0.8224 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01105, allocations: 0 / 0.8224 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.0113, allocations: 278.8 kB / 0.8227 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.0113, allocations: 7.938 kB / 0.8227 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.01144, allocations: 43.89 kB / 0.8227 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01145, allocations: 4 kB / 0.8227 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.01146, allocations: 4 kB / 0.8227 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01146, allocations: 8 kB / 0.8227 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.01146, allocations: 0 / 0.8227 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.01176, allocations: 347.5 kB / 0.8231 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.01179, allocations: 43.64 kB / 0.8231 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.01182, allocations: 3.938 kB / 0.8231 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.01193, allocations: 19.97 kB / 0.8231 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.01198, allocations: 27.89 kB / 0.8232 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01199, allocations: 8 kB / 0.8232 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001272/0.01212, allocations: 279 kB / 0.8234 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01212, allocations: 0 / 0.8234 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001936/0.01231, allocations: 63.95 kB / 0.8235 GB, free: 5.41 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 7.147e-05/0.01238, allocations: 103.2 kB / 0.8236 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.0126, allocations: 145 kB / 0.8237 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.0126, allocations: 0 / 0.8237 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01271, allocations: 103.5 kB / 0.8238 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01295, allocations: 69.28 kB / 0.8239 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.014, allocations: 0.5592 MB / 0.8244 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.01406, allocations: 108.3 kB / 0.8245 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.01419, allocations: 38.28 kB / 0.8246 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.01438, allocations: 134.1 kB / 0.8247 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01438, allocations: 0 / 0.8247 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.005713/0.0201, allocations: 4.772 MB / 0.8294 GB, free: 15.42 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: 4.83909034030512]