Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001313/0.001313, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001463/0.001463, allocations: 187.6 kB / 22.22 MB, free: 5.102 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.362/1.362, 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 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.012/3.012, allocations: 0.4893 GB / 0.7884 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.59 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3302, allocations: 174.8 MB / 1.316 GB, free: 9.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004426/0.3346, allocations: 2.415 MB / 1.318 GB, free: 7.355 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.337, allocations: 1.421 MB / 1.32 GB, free: 5.926 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.3371, allocations: 0 / 1.32 GB, free: 5.926 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.3377, allocations: 202.9 kB / 1.32 GB, free: 5.727 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3379, allocations: 75.34 kB / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.3382, allocations: 127.7 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.3386, allocations: 334.7 kB / 1.32 GB, free: 5.199 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3387, allocations: 40.84 kB / 1.32 GB, free: 5.152 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.3389, allocations: 131.5 kB / 1.321 GB, free: 5.023 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.3392, allocations: 187.4 kB / 1.321 GB, free: 4.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.3393, allocations: 32 kB / 1.321 GB, free: 4.809 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.3394, allocations: 63.97 kB / 1.321 GB, free: 4.746 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.3396, allocations: 123.6 kB / 1.321 GB, free: 4.625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.3398, allocations: 183 kB / 1.321 GB, free: 4.445 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.3404, allocations: 494.2 kB / 1.322 GB, free: 3.961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.3404, allocations: 0 / 1.322 GB, free: 3.961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3404, allocations: 0 / 1.322 GB, free: 3.961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3404, allocations: 0 / 1.322 GB, free: 3.961 MB / 1.014 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.001323/0.3417, allocations: 0.6444 MB / 1.322 GB, free: 3.285 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3417, allocations: 12.03 kB / 1.322 GB, free: 3.273 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008787/0.3426, allocations: 140.5 kB / 1.322 GB, free: 3.137 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.3431, allocations: 300.7 kB / 1.323 GB, free: 2.824 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.3432, allocations: 84.19 kB / 1.323 GB, free: 2.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.3432, allocations: 16.38 kB / 1.323 GB, free: 2.715 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.344, allocations: 304.8 kB / 1.323 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.344, allocations: 3.938 kB / 1.323 GB, free: 2.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.3441, allocations: 0 / 1.323 GB, free: 2.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3441, allocations: 4 kB / 1.323 GB, free: 2.406 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.3452, allocations: 420.4 kB / 1.324 GB, free: 1.996 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.3469, allocations: 0.8419 MB / 1.324 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.3476, allocations: 258.4 kB / 1.325 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/0.3482, allocations: 204.7 kB / 1.325 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3482, allocations: 0 / 1.325 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.3482, allocations: 38.56 kB / 1.325 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.233e-06/0.3482, allocations: 0 / 1.325 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001893/0.3501, allocations: 0.6457 MB / 1.325 GB, free: 15.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3502, allocations: 63.33 kB / 1.326 GB, free: 15.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.3507, allocations: 421.7 kB / 1.326 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.3507, allocations: 29.7 kB / 1.326 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3509, allocations: 188 kB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.54e-05/0.3509, allocations: 51.55 kB / 1.326 GB, free: 15.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3511, allocations: 41.69 kB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.3512, allocations: 354.8 kB / 1.327 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.3518, allocations: 191.9 kB / 1.327 GB, free: 14.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.3524, allocations: 225.5 kB / 1.327 GB, free: 14.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3534, allocations: 368.5 kB / 1.327 GB, free: 13.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3534, allocations: 0 / 1.327 GB, free: 13.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001239/0.3547, allocations: 474.9 kB / 1.328 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3547, allocations: 4 kB / 1.328 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3547, allocations: 0 / 1.328 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3547, allocations: 4 kB / 1.328 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.3552, allocations: 63.86 kB / 1.328 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3552, allocations: 7.938 kB / 1.328 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.3555, allocations: 39.84 kB / 1.328 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.3556, allocations: 7.984 kB / 1.328 GB, free: 13.39 MB / 1.029 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.0002111/0.3558, allocations: 170.6 kB / 1.328 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.3559, allocations: 39.77 kB / 1.328 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/0.3559, allocations: 39.53 kB / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3559, allocations: 4 kB / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.356, allocations: 3.938 kB / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.356, allocations: 0 / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.3565, allocations: 449.9 kB / 1.329 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3565, allocations: 0 / 1.329 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.357, allocations: 67.86 kB / 1.329 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.357, allocations: 0 / 1.329 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.357, allocations: 8 kB / 1.329 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.357, allocations: 0 / 1.329 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.357, allocations: 3.938 kB / 1.329 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.3583, allocations: 0.5591 MB / 1.329 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.3584, allocations: 47.66 kB / 1.329 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.3584, allocations: 4 kB / 1.329 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.3588, allocations: 31.94 kB / 1.329 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3589, allocations: 27.91 kB / 1.329 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.3589, allocations: 7.984 kB / 1.329 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003469/0.3593, allocations: 307.1 kB / 1.33 GB, free: 11.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3593, allocations: 4 kB / 1.33 GB, free: 11.58 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003308/0.3596, allocations: 68 kB / 1.33 GB, free: 11.51 MB / 1.029 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.0001304/0.3597, allocations: 103.7 kB / 1.33 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.3609, allocations: 423.6 kB / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3609, allocations: 0 / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.3615, allocations: 217.3 kB / 1.33 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3619, allocations: 50.55 kB / 1.33 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3633, allocations: 0.6849 MB / 1.331 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3638, allocations: 0.7909 MB / 1.332 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.364, allocations: 66.3 kB / 1.332 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3642, allocations: 23.42 kB / 1.332 GB, free: 9.113 MB / 1.029 GB Notification: Performance of SimCode: time 4.7e-07/0.3642, allocations: 0 / 1.332 GB, free: 9.113 MB / 1.029 GB Notification: Performance of Templates: time 0.00884/0.373, allocations: 4.432 MB / 1.336 GB, free: 4.734 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.425262685865164]