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.001313/0.001313, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001047/0.001047, allocations: 165.9 kB / 24.86 MB, free: 9.285 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 0.956/0.956, allocations: 177.1 MB / 205.3 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.832/1.832, allocations: 377.9 MB / 0.6247 GB, free: 8.375 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.503e-06/1.503e-06, allocations: 0 / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.19e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002467/0.002479, allocations: 2.402 MB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.003826, allocations: 1.419 MB / 0.8165 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003927, allocations: 7.938 kB / 0.8165 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.004312, allocations: 188 kB / 0.8167 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.0044, allocations: 81.16 kB / 0.8168 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.004628, allocations: 129.9 kB / 0.8169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.004885, allocations: 342.6 kB / 0.8172 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.004977, allocations: 28.91 kB / 0.8172 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.005175, allocations: 200 kB / 0.8174 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.005375, allocations: 172.3 kB / 0.8176 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.00541, allocations: 28.5 kB / 0.8176 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/0.0055, allocations: 69.56 kB / 0.8177 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.00558, allocations: 127.6 kB / 0.8178 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.492e-05/0.005655, allocations: 115.7 kB / 0.8179 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.005935, allocations: 338.9 kB / 0.8182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005937, allocations: 0 / 0.8182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.81e-07/0.005937, allocations: 0.625 kB / 0.8182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005941, allocations: 0.8438 kB / 0.8182 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.0006866/0.006628, allocations: 0.7489 MB / 0.819 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.006655, allocations: 8.031 kB / 0.819 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.00714, allocations: 175.8 kB / 0.8192 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.007382, allocations: 266.8 kB / 0.8194 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.007484, allocations: 191 kB / 0.8196 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.007508, allocations: 15.69 kB / 0.8196 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.007784, allocations: 185.3 kB / 0.8198 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.007791, allocations: 192 / 0.8198 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.007811, allocations: 8.125 kB / 0.8198 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.007816, allocations: 4 kB / 0.8198 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.007995, allocations: 110.8 kB / 0.8199 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.008864, allocations: 0.6059 MB / 0.8205 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.009072, allocations: 137.2 kB / 0.8206 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.009161, allocations: 68.31 kB / 0.8207 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.009184, allocations: 4 kB / 0.8207 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.009204, allocations: 41.86 kB / 0.8207 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.009205, allocations: 1 kB / 0.8207 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0003955/0.009601, allocations: 242.6 kB / 0.821 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.009627, allocations: 56.44 kB / 0.821 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.009895, allocations: 442.6 kB / 0.8214 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.009922, allocations: 25.7 kB / 0.8215 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01004, allocations: 256.3 kB / 0.8217 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.01009, allocations: 59.47 kB / 0.8218 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.01017, allocations: 47.28 kB / 0.8218 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.01031, allocations: 0.544 MB / 0.8223 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.0104, allocations: 48.97 kB / 0.8224 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01052, allocations: 181.8 kB / 0.8226 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.01068, allocations: 99.66 kB / 0.8227 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01068, allocations: 0 / 0.8227 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00026/0.01094, allocations: 186.7 kB / 0.8228 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01095, allocations: 11.98 kB / 0.8228 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.01096, allocations: 0 / 0.8228 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-06/0.01096, allocations: 0.8125 kB / 0.8228 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.01115, allocations: 44.5 kB / 0.8229 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01116, allocations: 3.984 kB / 0.8229 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01127, allocations: 29.38 kB / 0.8229 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.01129, allocations: 4 kB / 0.8229 GB, free: 6.832 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 9.315e-05/0.01138, allocations: 174.1 kB / 0.8231 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.01143, allocations: 35.77 kB / 0.8231 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.01147, allocations: 39.45 kB / 0.8232 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01147, allocations: 0 / 0.8232 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01147, allocations: 4 kB / 0.8232 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01147, allocations: 7.938 kB / 0.8232 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.01172, allocations: 282.8 kB / 0.8234 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01173, allocations: 3.938 kB / 0.8234 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.01188, allocations: 43.95 kB / 0.8235 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.01189, allocations: 0 / 0.8235 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.0119, allocations: 7.984 kB / 0.8235 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.0119, allocations: 4 kB / 0.8235 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.0119, allocations: 3.938 kB / 0.8235 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.01221, allocations: 345.8 kB / 0.8238 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.01224, allocations: 47.62 kB / 0.8239 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.01227, allocations: 4 kB / 0.8239 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.01239, allocations: 15.98 kB / 0.8239 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.01245, allocations: 23.95 kB / 0.8239 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.01247, allocations: 4 kB / 0.8239 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001344/0.0126, allocations: 275 kB / 0.8242 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0126, allocations: 0 / 0.8242 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002162/0.01282, allocations: 71.95 kB / 0.8243 GB, free: 5.422 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.612e-05/0.01289, allocations: 103.2 kB / 0.8244 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.01314, allocations: 147.5 kB / 0.8245 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.01314, allocations: 0 / 0.8245 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.01326, allocations: 97.2 kB / 0.8246 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.01352, allocations: 77.33 kB / 0.8247 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007627/0.01428, allocations: 0.5523 MB / 0.8252 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.74e-05/0.01434, allocations: 104.3 kB / 0.8253 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000132/0.01447, allocations: 38.31 kB / 0.8253 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.01467, allocations: 134.2 kB / 0.8255 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.01467, allocations: 0 / 0.8255 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of Templates: time 0.006187/0.02086, allocations: 4.902 MB / 0.8303 GB, free: 15.29 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.990634533111006]