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.00094/0.00094, allocations: 87.58 kB / 20.45 MB, free: 4.117 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: 161 kB / 23.81 MB, free: 0.75 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.8899/0.8899, allocations: 177.1 MB / 204.2 MB, free: 5.105 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.838/1.838, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.284e-06/2.284e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.844e-05, allocations: 5.469 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002711/0.00274, allocations: 2.42 MB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.004379, allocations: 1.443 MB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.004503, allocations: 4 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.005039, allocations: 189 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.005157, allocations: 72.67 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.005544, allocations: 136.8 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.005862, allocations: 346.6 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.005966, allocations: 30.3 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.006233, allocations: 195.5 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.006469, allocations: 169.3 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.006512, allocations: 32 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.006622, allocations: 71.91 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.006714, allocations: 119.7 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.833e-05/0.006802, allocations: 118.4 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.007139, allocations: 338.9 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007142, allocations: 0 / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007143, allocations: 0 / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.007149, allocations: 0 / 0.817 GB, free: 12.11 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.0008056/0.007954, allocations: 0.7555 MB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.007993, allocations: 14.62 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005048/0.008498, allocations: 161 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.008803, allocations: 280.4 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.008924, allocations: 195 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.00895, allocations: 16.31 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.009291, allocations: 207.5 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.009298, allocations: 6.406 kB / 0.8186 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.009321, allocations: 8.125 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.009329, allocations: 4 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.00957, allocations: 148.9 kB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009024/0.01047, allocations: 0.6747 MB / 0.8194 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.01073, allocations: 150.9 kB / 0.8196 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.01086, allocations: 85.34 kB / 0.8197 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.01088, allocations: 4 kB / 0.8197 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.0109, allocations: 37.39 kB / 0.8197 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.01091, allocations: 0 / 0.8197 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0005095/0.01142, allocations: 287.6 kB / 0.82 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.01145, allocations: 63.28 kB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.01175, allocations: 455.9 kB / 0.8205 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.01178, allocations: 25.7 kB / 0.8205 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.0119, allocations: 243.3 kB / 0.8207 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.01195, allocations: 64.56 kB / 0.8208 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.01202, allocations: 47.34 kB / 0.8208 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.01216, allocations: 0.5391 MB / 0.8214 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.01229, allocations: 64.69 kB / 0.8214 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.01245, allocations: 189.6 kB / 0.8216 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.01265, allocations: 113 kB / 0.8217 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01265, allocations: 0 / 0.8217 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003191/0.01297, allocations: 224.4 kB / 0.8219 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01299, allocations: 4 kB / 0.8219 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01299, allocations: 0.6562 kB / 0.8219 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.013, allocations: 4 kB / 0.8219 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.01322, allocations: 54.47 kB / 0.822 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01322, allocations: 0 / 0.822 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01334, allocations: 31.86 kB / 0.822 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.01336, allocations: 8 kB / 0.822 GB, free: 6.77 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.0001025/0.01346, allocations: 174.1 kB / 0.8222 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.01351, allocations: 43.77 kB / 0.8222 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.01355, allocations: 35.45 kB / 0.8223 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01355, allocations: 4 kB / 0.8223 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01355, allocations: 0.5938 kB / 0.8223 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01356, allocations: 0 / 0.8223 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.01385, allocations: 346.7 kB / 0.8226 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01385, allocations: 1.031 kB / 0.8226 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.01401, allocations: 47.95 kB / 0.8226 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01402, allocations: 4 kB / 0.8226 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.01404, allocations: 11.98 kB / 0.8227 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01404, allocations: 3.938 kB / 0.8227 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01404, allocations: 0 / 0.8227 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.01441, allocations: 371.5 kB / 0.823 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.01445, allocations: 43.73 kB / 0.8231 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.01448, allocations: 7.984 kB / 0.8231 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.0146, allocations: 27.97 kB / 0.8231 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.01467, allocations: 23.95 kB / 0.8231 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.01469, allocations: 4 kB / 0.8231 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001762/0.01486, allocations: 291.1 kB / 0.8234 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01486, allocations: 0 / 0.8234 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002106/0.01507, allocations: 63.95 kB / 0.8235 GB, free: 5.238 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 9.26e-05/0.01517, allocations: 107.2 kB / 0.8236 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.01548, allocations: 185.6 kB / 0.8237 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01548, allocations: 0 / 0.8237 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.01562, allocations: 107.4 kB / 0.8238 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.0159, allocations: 73.33 kB / 0.8239 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.01684, allocations: 0.5711 MB / 0.8245 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.0169, allocations: 104.3 kB / 0.8246 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.01704, allocations: 50.27 kB / 0.8246 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01715, allocations: 28.48 kB / 0.8246 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.01715, allocations: 0 / 0.8246 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of Templates: time 0.006175/0.02332, allocations: 4.713 MB / 0.8292 GB, free: 15.33 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.813723055180162]