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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0059/0.0059, allocations: 99.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001358, allocations: 192.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7782, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004946/0.7832, allocations: 2.397 MB / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.7861, allocations: 1.399 MB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.7863, allocations: 4 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008162/0.7871, allocations: 199 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.7874, allocations: 79.28 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.7879, allocations: 123.7 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.7884, allocations: 326.7 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.7886, allocations: 48.7 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.7889, allocations: 131.5 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.7893, allocations: 187.3 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.599e-05/0.7894, allocations: 32 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.7896, allocations: 67.97 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.7899, allocations: 119.6 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.7901, allocations: 179 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007151/0.7909, allocations: 494.7 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7909, allocations: 3.938 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7909, allocations: 0 / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.7909, allocations: 4 kB / 1.172 GB, free: 14.06 MB / 0.9044 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.001669/0.7926, allocations: 0.7119 MB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7926, allocations: 12.03 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.7939, allocations: 152.5 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.7945, allocations: 350.6 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.7947, allocations: 84.19 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.7948, allocations: 16.31 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.7958, allocations: 299.4 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7958, allocations: 7.938 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.7959, allocations: 4 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.7959, allocations: 4 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.7975, allocations: 408.4 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.7998, allocations: 0.8742 MB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.8007, allocations: 270.4 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008064/0.8015, allocations: 220.7 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.8016, allocations: 0 / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.8016, allocations: 38.56 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 3.536e-06/0.8016, allocations: 0 / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.002556/0.8042, allocations: 0.652 MB / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.8043, allocations: 59.34 kB / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/0.805, allocations: 421.6 kB / 1.177 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.8051, allocations: 33.7 kB / 1.177 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.8053, allocations: 184 kB / 1.177 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.313e-05/0.8054, allocations: 59.48 kB / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.8055, allocations: 33.7 kB / 1.177 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8057, allocations: 350.8 kB / 1.177 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/0.8065, allocations: 199.8 kB / 1.177 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/0.8073, allocations: 227.3 kB / 1.178 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.8087, allocations: 375 kB / 1.178 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8087, allocations: 0 / 1.178 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001684/0.8104, allocations: 465.1 kB / 1.178 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8105, allocations: 4 kB / 1.178 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8105, allocations: 4 kB / 1.178 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8105, allocations: 0 / 1.178 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.8111, allocations: 63.88 kB / 1.179 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.8112, allocations: 15.92 kB / 1.179 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.8116, allocations: 39.91 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.8117, allocations: 0 / 1.179 GB, free: 7.262 MB / 0.9044 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.0002448/0.8119, allocations: 165.8 kB / 1.179 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.8121, allocations: 35.77 kB / 1.179 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/0.8122, allocations: 47.58 kB / 1.179 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.8122, allocations: 0 / 1.179 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.8122, allocations: 7.938 kB / 1.179 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8122, allocations: 3.938 kB / 1.179 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.813, allocations: 475 kB / 1.179 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.813, allocations: 0 / 1.179 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.8135, allocations: 63.86 kB / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.8136, allocations: 0 / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.8136, allocations: 11.98 kB / 1.179 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.8136, allocations: 0 / 1.179 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8136, allocations: 7.875 kB / 1.179 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.8151, allocations: 0.5519 MB / 1.18 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.8152, allocations: 116.8 kB / 1.18 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.8153, allocations: 12 kB / 1.18 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.8157, allocations: 31.95 kB / 1.18 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.8158, allocations: 27.84 kB / 1.18 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.8158, allocations: 7.984 kB / 1.18 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000325/0.8161, allocations: 311.1 kB / 1.18 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8161, allocations: 0 / 1.18 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003277/0.8165, allocations: 67.95 kB / 1.18 GB, free: 5.266 MB / 0.9044 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.0001243/0.8166, allocations: 107.2 kB / 1.181 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.8178, allocations: 431.5 kB / 1.181 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.8178, allocations: 4 kB / 1.181 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.8184, allocations: 227.8 kB / 1.181 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.8188, allocations: 49.53 kB / 1.181 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.8201, allocations: 0.6748 MB / 1.182 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.8205, allocations: 0.7947 MB / 1.183 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002594/0.8207, allocations: 62.3 kB / 1.183 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.8209, allocations: 35.42 kB / 1.183 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8209, allocations: 3.938 kB / 1.183 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of Templates: time 0.008166/0.8291, allocations: 4.284 MB / 1.187 GB, free: 14.6 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) 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) Reference file matches