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.00241/0.00241, allocations: 83.75 kB / 20.23 MB, free: 4.039 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.002778/0.002778, allocations: 157.4 kB / 23.55 MB, free: 0.7305 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.646/1.646, allocations: 177.1 MB / 203.9 MB, free: 5.586 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 3.067/3.067, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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 3.787e-06/3.787e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.407e-05/4.786e-05, allocations: 7.609 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.005066/0.005114, allocations: 2.375 MB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.007935, allocations: 1.432 MB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.00809, allocations: 4 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.008785, allocations: 183.5 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.008958, allocations: 81.25 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.009402, allocations: 129.7 kB / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005035/0.009905, allocations: 346.6 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.01004, allocations: 36.84 kB / 0.8153 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.01043, allocations: 197.3 kB / 0.8155 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.01075, allocations: 155.6 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.159e-05/0.01082, allocations: 28 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.011, allocations: 70.25 kB / 0.8157 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.01119, allocations: 123.6 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.01135, allocations: 111.7 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.01211, allocations: 0.5218 MB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01211, allocations: 0 / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.024e-06/0.01211, allocations: 0 / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.01212, allocations: 3.281 kB / 0.8164 GB, free: 12.36 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.001679/0.0138, allocations: 0.765 MB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.01386, allocations: 12.59 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.01495, allocations: 167 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.01555, allocations: 289 kB / 0.8176 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.01578, allocations: 191 kB / 0.8178 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.01582, allocations: 12.38 kB / 0.8178 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.01648, allocations: 233.9 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.01649, allocations: 192 / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.01652, allocations: 13.06 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.01653, allocations: 0 / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/0.01741, allocations: 299.4 kB / 0.8183 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.01918, allocations: 0.742 MB / 0.8191 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.01975, allocations: 204 kB / 0.8193 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.02019, allocations: 156.6 kB / 0.8194 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.02023, allocations: 1.125 kB / 0.8194 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.02028, allocations: 37.39 kB / 0.8195 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.183e-06/0.02028, allocations: 0 / 0.8195 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.001863/0.02214, allocations: 484 kB / 0.8199 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.0222, allocations: 57.03 kB / 0.82 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.02286, allocations: 494.7 kB / 0.8204 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.02292, allocations: 29.7 kB / 0.8205 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.02319, allocations: 259.2 kB / 0.8207 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.251e-05/0.02328, allocations: 64.59 kB / 0.8208 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.02342, allocations: 47.36 kB / 0.8208 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003757/0.02379, allocations: 0.5508 MB / 0.8214 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.02423, allocations: 133 kB / 0.8215 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.02476, allocations: 256.9 kB / 0.8217 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007769/0.02554, allocations: 240.4 kB / 0.822 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02554, allocations: 0 / 0.822 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001044/0.02658, allocations: 343.9 kB / 0.8223 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.0266, allocations: 8 kB / 0.8223 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.02661, allocations: 0.5938 kB / 0.8223 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.02663, allocations: 1.469 kB / 0.8223 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.02709, allocations: 47.95 kB / 0.8223 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.0271, allocations: 0 / 0.8223 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.02741, allocations: 35.86 kB / 0.8224 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.02745, allocations: 7.984 kB / 0.8224 GB, free: 6.023 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.0002792/0.02773, allocations: 188.5 kB / 0.8226 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.02785, allocations: 39.77 kB / 0.8226 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.02795, allocations: 39.48 kB / 0.8226 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.02796, allocations: 4 kB / 0.8226 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.02796, allocations: 0 / 0.8226 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.02797, allocations: 3.984 kB / 0.8227 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.02864, allocations: 378.2 kB / 0.823 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02865, allocations: 4 kB / 0.823 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.02904, allocations: 59.88 kB / 0.8231 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.02905, allocations: 0 / 0.8231 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.02908, allocations: 0 / 0.8231 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02908, allocations: 0 / 0.8231 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.02908, allocations: 4 kB / 0.8231 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.03023, allocations: 0.4939 MB / 0.8236 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.03032, allocations: 39.7 kB / 0.8236 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.03038, allocations: 8 kB / 0.8236 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.03067, allocations: 23.97 kB / 0.8236 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.03081, allocations: 23.95 kB / 0.8237 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.03084, allocations: 8 kB / 0.8237 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004164/0.03125, allocations: 315.1 kB / 0.824 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.03125, allocations: 0 / 0.824 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003509/0.03161, allocations: 68 kB / 0.824 GB, free: 4.289 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.0001793/0.03179, allocations: 107.2 kB / 0.8241 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009718/0.03276, allocations: 311.5 kB / 0.8244 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.03276, allocations: 3.938 kB / 0.8244 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.03325, allocations: 182.3 kB / 0.8246 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.0337, allocations: 71.2 kB / 0.8247 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.0351, allocations: 0.6157 MB / 0.8253 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.03533, allocations: 187.5 kB / 0.8254 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000248/0.03558, allocations: 50.25 kB / 0.8255 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.03576, allocations: 32.48 kB / 0.8255 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.03576, allocations: 0 / 0.8255 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.01079/0.04655, allocations: 4.496 MB / 0.8299 GB, free: 14.27 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","/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: 8.71234817605]