Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 189.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.89 kB / 1.061 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8205, allocations: 160.8 MB / 1.218 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003891/0.8244, allocations: 2.416 MB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.8267, allocations: 1.414 MB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.8268, allocations: 4 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006094/0.8274, allocations: 206.8 kB / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.8276, allocations: 75.3 kB / 1.222 GB, free: 260 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.8279, allocations: 127.7 kB / 1.223 GB, free: 132 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.8283, allocations: 330.9 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.8285, allocations: 32.86 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.8287, allocations: 131.5 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.829, allocations: 191.4 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.8291, allocations: 32 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.8292, allocations: 67.97 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.8294, allocations: 123.6 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.8296, allocations: 175 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005951/0.8302, allocations: 0.4926 MB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.8302, allocations: 4 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8302, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8302, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9356 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.0014/0.8316, allocations: 0.7159 MB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.8316, allocations: 8.031 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/0.8325, allocations: 152.4 kB / 1.225 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.833, allocations: 354.6 kB / 1.225 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.8331, allocations: 84.19 kB / 1.225 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.8332, allocations: 16.36 kB / 1.225 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007537/0.834, allocations: 304.1 kB / 1.226 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.834, allocations: 0 / 1.226 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.834, allocations: 4 kB / 1.226 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.834, allocations: 4 kB / 1.226 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.8351, allocations: 413.1 kB / 1.226 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.8368, allocations: 0.8703 MB / 1.227 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.8375, allocations: 262.3 kB / 1.227 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.838, allocations: 204.7 kB / 1.227 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.8381, allocations: 4 kB / 1.227 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.8381, allocations: 34.56 kB / 1.227 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.8381, allocations: 0 / 1.227 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.001835/0.8399, allocations: 0.6523 MB / 1.228 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.84, allocations: 59.34 kB / 1.228 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.8405, allocations: 421.6 kB / 1.229 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.8405, allocations: 29.7 kB / 1.229 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.8407, allocations: 187.9 kB / 1.229 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.8408, allocations: 59.48 kB / 1.229 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.8409, allocations: 41.64 kB / 1.229 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.841, allocations: 350.8 kB / 1.229 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.8416, allocations: 195.8 kB / 1.229 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.8421, allocations: 231.3 kB / 1.23 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.8431, allocations: 367.1 kB / 1.23 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8431, allocations: 0 / 1.23 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001174/0.8443, allocations: 465.1 kB / 1.23 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.8443, allocations: 4 kB / 1.23 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.8443, allocations: 0 / 1.23 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.8443, allocations: 0 / 1.23 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.8448, allocations: 75.86 kB / 1.23 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.8448, allocations: 3.938 kB / 1.23 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.8451, allocations: 35.91 kB / 1.23 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.8452, allocations: 15.92 kB / 1.23 GB, free: 7.793 MB / 0.9356 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.0002018/0.8454, allocations: 165.7 kB / 1.231 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.8454, allocations: 39.77 kB / 1.231 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.8455, allocations: 43.52 kB / 1.231 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.8455, allocations: 4 kB / 1.231 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8455, allocations: 3.938 kB / 1.231 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8455, allocations: 0 / 1.231 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.8461, allocations: 474.9 kB / 1.231 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8461, allocations: 3.938 kB / 1.231 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.8465, allocations: 59.94 kB / 1.231 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8465, allocations: 0 / 1.231 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.8465, allocations: 7.984 kB / 1.231 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.8465, allocations: 4 kB / 1.231 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8466, allocations: 3.938 kB / 1.231 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.8478, allocations: 0.556 MB / 1.232 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.8479, allocations: 120.8 kB / 1.232 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.848, allocations: 4 kB / 1.232 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.8483, allocations: 27.95 kB / 1.232 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.8484, allocations: 31.89 kB / 1.232 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.8484, allocations: 7.984 kB / 1.232 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003592/0.8488, allocations: 311.1 kB / 1.232 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8488, allocations: 4 kB / 1.232 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003356/0.8491, allocations: 63.95 kB / 1.232 GB, free: 5.801 MB / 0.9356 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.0001283/0.8492, allocations: 103.2 kB / 1.232 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.8504, allocations: 427.5 kB / 1.233 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8504, allocations: 0 / 1.233 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.851, allocations: 223.7 kB / 1.233 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.8514, allocations: 51.58 kB / 1.233 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.8527, allocations: 0.6889 MB / 1.234 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.8532, allocations: 0.787 MB / 1.235 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.8535, allocations: 62.27 kB / 1.235 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.8536, allocations: 27.42 kB / 1.235 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.8536, allocations: 0 / 1.235 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.009079/0.8627, allocations: 4.416 MB / 1.239 GB, free: 15.01 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.837125152349472]