Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001967/0.001967, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.002122/0.002122, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.491/1.491, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.746/2.746, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 67.89 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286/1.288, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003868/1.292, allocations: 2.414 MB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002192/1.294, allocations: 1.417 MB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/1.295, allocations: 2.906 kB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006431/1.295, allocations: 203.7 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/1.295, allocations: 77.41 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/1.296, allocations: 123.8 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004167/1.296, allocations: 332.3 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/1.296, allocations: 26.52 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/1.297, allocations: 130.7 kB / 1.277 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/1.297, allocations: 192 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/1.297, allocations: 31.78 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/1.297, allocations: 74.52 kB / 1.277 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/1.297, allocations: 125.4 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/1.297, allocations: 173.7 kB / 1.277 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000634/1.298, allocations: 0.4918 MB / 1.278 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.298, allocations: 0.5156 kB / 1.278 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/1.298, allocations: 0.9375 kB / 1.278 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.298, allocations: 3.938 kB / 1.278 GB, free: 4.297 MB / 0.9981 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.001321/1.299, allocations: 0.7164 MB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.299, allocations: 9.656 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008866/1.3, allocations: 142.5 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/1.301, allocations: 359.8 kB / 1.279 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/1.301, allocations: 83.88 kB / 1.279 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/1.301, allocations: 12.81 kB / 1.279 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/1.302, allocations: 302 kB / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.302, allocations: 0 / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/1.302, allocations: 1.688 kB / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.302, allocations: 2.25 kB / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/1.303, allocations: 424.9 kB / 1.28 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/1.305, allocations: 0.8641 MB / 1.28 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/1.305, allocations: 261.6 kB / 1.281 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/1.306, allocations: 206 kB / 1.281 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/1.306, allocations: 14.48 kB / 1.281 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.306, allocations: 32.3 kB / 1.281 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.764e-06/1.306, allocations: 0 / 1.281 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001848/1.308, allocations: 0.6459 MB / 1.282 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/1.308, allocations: 59.03 kB / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/1.308, allocations: 423.7 kB / 1.282 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/1.309, allocations: 31.42 kB / 1.282 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.309, allocations: 178.9 kB / 1.282 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/1.309, allocations: 63.84 kB / 1.282 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.309, allocations: 42.58 kB / 1.282 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.309, allocations: 348.5 kB / 1.283 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/1.309, allocations: 196.5 kB / 1.283 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/1.31, allocations: 230.8 kB / 1.283 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009685/1.311, allocations: 370.9 kB / 1.283 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.311, allocations: 0.9688 kB / 1.283 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001208/1.312, allocations: 458.9 kB / 1.284 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/1.312, allocations: 11.47 kB / 1.284 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.312, allocations: 0.7031 kB / 1.284 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.312, allocations: 0 / 1.284 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/1.313, allocations: 65.98 kB / 1.284 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.313, allocations: 9.281 kB / 1.284 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/1.313, allocations: 38.67 kB / 1.284 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/1.313, allocations: 6.938 kB / 1.284 GB, free: 0.7031 MB / 0.9981 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.0001923/1.313, allocations: 167.5 kB / 1.284 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/1.313, allocations: 38.81 kB / 1.284 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.765e-05/1.314, allocations: 39.95 kB / 1.284 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.314, allocations: 8.656 kB / 1.284 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/1.314, allocations: 7.875 kB / 1.284 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.314, allocations: 1.172 kB / 1.284 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006088/1.314, allocations: 470.7 kB / 1.285 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.314, allocations: 3.062 kB / 1.285 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/1.315, allocations: 59.89 kB / 1.285 GB, free: 188 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.315, allocations: 4.656 kB / 1.285 GB, free: 188 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/1.315, allocations: 6.156 kB / 1.285 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.315, allocations: 0 / 1.285 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.315, allocations: 3.938 kB / 1.285 GB, free: 180 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/1.316, allocations: 0.5575 MB / 1.285 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/1.316, allocations: 120.1 kB / 1.285 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/1.316, allocations: 4.094 kB / 1.285 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/1.316, allocations: 31.12 kB / 1.285 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.317, allocations: 38.89 kB / 1.285 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/1.317, allocations: 4.688 kB / 1.285 GB, free: 15.74 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004136/1.317, allocations: 306.7 kB / 1.286 GB, free: 15.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.317, allocations: 0 / 1.286 GB, free: 15.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000351/1.317, allocations: 66.72 kB / 1.286 GB, free: 15.59 MB / 1.014 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.0001697/1.318, allocations: 101.3 kB / 1.286 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001218/1.319, allocations: 425.6 kB / 1.286 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.319, allocations: 0 / 1.286 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006232/1.319, allocations: 217.8 kB / 1.287 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/1.32, allocations: 54.31 kB / 1.287 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/1.321, allocations: 0.6952 MB / 1.287 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/1.322, allocations: 0.7951 MB / 1.288 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002934/1.322, allocations: 64.36 kB / 1.288 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/1.322, allocations: 26.23 kB / 1.288 GB, free: 14.15 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.322, allocations: 0 / 1.288 GB, free: 14.15 MB / 1.014 GB Notification: Performance of Templates: time 0.01046/1.333, allocations: 4.392 MB / 1.292 GB, free: 13.84 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.537520266138017]