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.001487/0.001487, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001519/0.001519, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.495/1.495, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.952/2.952, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.444e-06/2.444e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.439e-05, allocations: 4.844 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004018/0.004053, allocations: 2.297 MB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.006433, allocations: 1.345 MB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.006549, allocations: 7.938 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.007144, allocations: 184.8 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.007304, allocations: 85.38 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.007689, allocations: 140.4 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004872/0.008176, allocations: 342.6 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.008295, allocations: 30.45 kB / 0.8151 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.008661, allocations: 195.6 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.008975, allocations: 152.7 kB / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.009038, allocations: 35.94 kB / 0.8155 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.009206, allocations: 75.89 kB / 0.8155 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.009357, allocations: 116.4 kB / 0.8157 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.009512, allocations: 111.7 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008731/0.01038, allocations: 0.5113 MB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01039, allocations: 0 / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.01039, allocations: 0 / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.0104, allocations: 5.438 kB / 0.8163 GB, free: 12.5 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.001476/0.01187, allocations: 0.6443 MB / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.01191, allocations: 13.41 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.0132, allocations: 195.1 kB / 0.8171 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.01373, allocations: 305.5 kB / 0.8174 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.01396, allocations: 198.9 kB / 0.8176 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.01401, allocations: 16.31 kB / 0.8176 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/0.01485, allocations: 293.2 kB / 0.8179 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.01486, allocations: 0.75 kB / 0.8179 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.0149, allocations: 12.12 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.01491, allocations: 0.625 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.01618, allocations: 412 kB / 0.8183 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.01797, allocations: 0.7216 MB / 0.819 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.01875, allocations: 258.4 kB / 0.8192 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.01936, allocations: 211.1 kB / 0.8194 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.0194, allocations: 4 kB / 0.8194 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.01944, allocations: 34.56 kB / 0.8195 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.01944, allocations: 0.9062 kB / 0.8195 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.002154/0.0216, allocations: 0.6635 MB / 0.8201 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.02165, allocations: 54.75 kB / 0.8202 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.02221, allocations: 421.6 kB / 0.8206 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.02226, allocations: 29.7 kB / 0.8206 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.02244, allocations: 184.5 kB / 0.8208 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.02253, allocations: 59.48 kB / 0.8208 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.02267, allocations: 41.69 kB / 0.8209 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.02288, allocations: 350.7 kB / 0.8212 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/0.02348, allocations: 192.7 kB / 0.8214 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.02419, allocations: 306.6 kB / 0.8217 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.02535, allocations: 374.8 kB / 0.822 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.02536, allocations: 1.656 kB / 0.822 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001397/0.02675, allocations: 473.4 kB / 0.8225 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.02677, allocations: 4 kB / 0.8225 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.02678, allocations: 0 / 0.8225 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.0268, allocations: 0.9688 kB / 0.8225 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.02732, allocations: 64.95 kB / 0.8226 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.02732, allocations: 0 / 0.8226 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.0277, allocations: 44.61 kB / 0.8226 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.02774, allocations: 11.41 kB / 0.8226 GB, free: 5.812 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.0002383/0.02798, allocations: 169.8 kB / 0.8228 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.02808, allocations: 39.77 kB / 0.8228 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.0283, allocations: 39.45 kB / 0.8229 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.02831, allocations: 48 / 0.8229 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.02832, allocations: 3.984 kB / 0.8229 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.02832, allocations: 3.984 kB / 0.8229 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.02891, allocations: 350.8 kB / 0.8232 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02891, allocations: 0 / 0.8232 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.02938, allocations: 68.59 kB / 0.8233 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.02939, allocations: 3.984 kB / 0.8233 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.02941, allocations: 0 / 0.8233 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.02942, allocations: 4 kB / 0.8233 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02942, allocations: 0 / 0.8233 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.03089, allocations: 0.5593 MB / 0.8238 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/0.03097, allocations: 39.75 kB / 0.8239 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.03103, allocations: 7.938 kB / 0.8239 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.0314, allocations: 35.95 kB / 0.8239 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.03152, allocations: 23.95 kB / 0.8239 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.03155, allocations: 7.984 kB / 0.8239 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003912/0.03194, allocations: 299.1 kB / 0.8242 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03194, allocations: 0 / 0.8242 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003668/0.03231, allocations: 75.94 kB / 0.8243 GB, free: 4.051 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.0001622/0.03247, allocations: 95.25 kB / 0.8244 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.0338, allocations: 423.6 kB / 0.8248 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.0338, allocations: 0 / 0.8248 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006576/0.03446, allocations: 217.5 kB / 0.825 GB, free: 3.324 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.03493, allocations: 82.06 kB / 0.8251 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.03648, allocations: 0.6765 MB / 0.8257 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.03671, allocations: 191.5 kB / 0.8259 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.03699, allocations: 58.25 kB / 0.826 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.03717, allocations: 32.48 kB / 0.826 GB, free: 2.246 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.03717, allocations: 0 / 0.826 GB, free: 2.246 MB / 0.7761 GB Notification: Performance of Templates: time 0.01027/0.04744, allocations: 4.484 MB / 0.8304 GB, free: 13.85 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.997459223028272]