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.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.001333/0.001333, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001439/0.001439, allocations: 216.4 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.935/2.935, allocations: 476 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003874/0.003874, allocations: 70.47 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5205, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004431/0.5249, allocations: 2.292 MB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.5277, allocations: 1.339 MB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.5279, allocations: 7.938 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006793/0.5286, allocations: 179 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.5288, allocations: 75.36 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.5293, allocations: 135.7 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.5298, allocations: 326.8 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.5299, allocations: 36.84 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.5302, allocations: 151.4 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.5306, allocations: 171.4 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.5306, allocations: 36 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.5308, allocations: 67.97 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.531, allocations: 123.6 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.5311, allocations: 143.2 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006473/0.5318, allocations: 0.4942 MB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5318, allocations: 0 / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5318, allocations: 0 / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.5318, allocations: 0 / 1.288 GB, free: 6.375 MB / 0.9825 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.001554/0.5334, allocations: 0.6445 MB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.5334, allocations: 8.031 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.5346, allocations: 184.4 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.5352, allocations: 308.7 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.5354, allocations: 199 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.5355, allocations: 12.38 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.5363, allocations: 299.4 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5363, allocations: 0 / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.5363, allocations: 4 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5363, allocations: 0 / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.5375, allocations: 417.1 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.5393, allocations: 0.7337 MB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.54, allocations: 262.3 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.5406, allocations: 208.7 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.5407, allocations: 0 / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.5407, allocations: 34.56 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.193e-06/0.5407, allocations: 4 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001934/0.5426, allocations: 0.6497 MB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.5427, allocations: 51.41 kB / 1.292 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.5432, allocations: 421.6 kB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.5432, allocations: 29.7 kB / 1.293 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.5434, allocations: 180.5 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.5435, allocations: 59.48 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.5436, allocations: 33.7 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.5438, allocations: 354.7 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.5444, allocations: 199.8 kB / 1.294 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.545, allocations: 302.3 kB / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.5461, allocations: 375.6 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5461, allocations: 0 / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001277/0.5474, allocations: 465.2 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5474, allocations: 4 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5474, allocations: 3.938 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5474, allocations: 0 / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.5479, allocations: 63.86 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5479, allocations: 3.938 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.5482, allocations: 47.78 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.5483, allocations: 11.98 kB / 1.295 GB, free: 15.66 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.0002097/0.5485, allocations: 165.8 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.5486, allocations: 35.77 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.766e-05/0.5487, allocations: 47.47 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5487, allocations: 0 / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.5487, allocations: 4 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5487, allocations: 3.938 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.5492, allocations: 350.5 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5492, allocations: 0 / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.5497, allocations: 67.92 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5497, allocations: 0 / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.5497, allocations: 0 / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/0.5497, allocations: 7.984 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5497, allocations: 0 / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.551, allocations: 0.5574 MB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.5511, allocations: 39.77 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.5512, allocations: 11.98 kB / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.5515, allocations: 27.95 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5516, allocations: 27.95 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.5516, allocations: 4 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003885/0.552, allocations: 307.1 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.552, allocations: 4 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003574/0.5524, allocations: 67.95 kB / 1.296 GB, free: 13.9 MB / 0.9981 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.0001605/0.5526, allocations: 103.2 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.5538, allocations: 429.4 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5538, allocations: 0 / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.5544, allocations: 215.8 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.5549, allocations: 49.42 kB / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.5564, allocations: 0.6823 MB / 1.298 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.5567, allocations: 187.5 kB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.557, allocations: 62.27 kB / 1.298 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.5571, allocations: 27.42 kB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.5571, allocations: 4 kB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of Templates: time 0.01011/0.5672, allocations: 4.829 MB / 1.303 GB, free: 7.359 MB / 0.9981 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.671601712703705]