Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0007942/0.0007943, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008217/0.0008217, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003598, allocations: 8 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6766, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002104/0.6787, allocations: 2.005 MB / 0.9564 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.6804, allocations: 1.297 MB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.6806, allocations: 3.75 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.6811, allocations: 173.8 kB / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.6813, allocations: 65.59 kB / 0.9579 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.6816, allocations: 84.97 kB / 0.958 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.6819, allocations: 294.6 kB / 0.9583 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.682, allocations: 52.22 kB / 0.9583 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.6822, allocations: 120.5 kB / 0.9584 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.6824, allocations: 168.6 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.6824, allocations: 18.5 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.6826, allocations: 52.84 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.6827, allocations: 113.2 kB / 0.9588 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.6827, allocations: 82.77 kB / 0.9588 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.683, allocations: 374.8 kB / 0.9592 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.683, allocations: 0 / 0.9592 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.683, allocations: 3.938 kB / 0.9592 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.6831, allocations: 1.375 kB / 0.9592 GB, free: 4.07 MB / 0.7169 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.0009497/0.684, allocations: 0.6671 MB / 0.9598 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.684, allocations: 8.25 kB / 0.9599 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/0.6848, allocations: 177.1 kB / 0.96 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.6852, allocations: 331.5 kB / 0.9603 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.914e-05/0.6853, allocations: 82.78 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.6853, allocations: 12.25 kB / 0.9604 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006713/0.686, allocations: 323.2 kB / 0.9607 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.686, allocations: 1 kB / 0.9607 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.6861, allocations: 9.016 kB / 0.9607 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6861, allocations: 6.969 kB / 0.9608 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.6871, allocations: 455.2 kB / 0.9612 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.6885, allocations: 0.8752 MB / 0.962 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.6891, allocations: 288.1 kB / 0.9623 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/0.6897, allocations: 239.5 kB / 0.9625 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.6897, allocations: 2.156 kB / 0.9625 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.6897, allocations: 35.59 kB / 0.9626 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.6897, allocations: 0 / 0.9626 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.00168/0.6914, allocations: 0.7093 MB / 0.9633 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.6915, allocations: 53.62 kB / 0.9633 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.6919, allocations: 430.4 kB / 0.9637 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.6919, allocations: 31.17 kB / 0.9638 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.692, allocations: 182.4 kB / 0.9639 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.6921, allocations: 62.12 kB / 0.964 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.6921, allocations: 4 kB / 0.964 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.6922, allocations: 344.8 kB / 0.9643 GB, free: 328 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.6927, allocations: 214.6 kB / 0.9645 GB, free: 224 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.6932, allocations: 256.6 kB / 0.9648 GB, free: 76 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.6938, allocations: 204.4 kB / 0.965 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.6938, allocations: 4.984 kB / 0.965 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00118/0.695, allocations: 0.4953 MB / 0.9655 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.695, allocations: 5.188 kB / 0.9655 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.695, allocations: 0 / 0.9655 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.695, allocations: 1.188 kB / 0.9655 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.6955, allocations: 76.77 kB / 0.9655 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.495e-06/0.6956, allocations: 4.719 kB / 0.9655 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.6959, allocations: 60.66 kB / 0.9656 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.696, allocations: 7.953 kB / 0.9656 GB, free: 15.64 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.6962, allocations: 161.1 kB / 0.9658 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.6962, allocations: 35.88 kB / 0.9658 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/0.6963, allocations: 39.72 kB / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6963, allocations: 2.625 kB / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6963, allocations: 0 / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6964, allocations: 5.109 kB / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.697, allocations: 482.6 kB / 0.9663 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.697, allocations: 0 / 0.9663 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.6974, allocations: 77.39 kB / 0.9664 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6974, allocations: 1.094 kB / 0.9664 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.6975, allocations: 4.969 kB / 0.9664 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.6975, allocations: 5.172 kB / 0.9664 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6975, allocations: 0 / 0.9664 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.6987, allocations: 0.5941 MB / 0.967 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.6989, allocations: 119.9 kB / 0.9671 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.6989, allocations: 4.969 kB / 0.9671 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.6993, allocations: 46.86 kB / 0.9671 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6994, allocations: 25.61 kB / 0.9672 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.6994, allocations: 11.84 kB / 0.9672 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003714/0.6998, allocations: 307.9 kB / 0.9675 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6998, allocations: 4 kB / 0.9675 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003792/0.7002, allocations: 63.03 kB / 0.9675 GB, free: 14.26 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.7004, allocations: 100.6 kB / 0.9676 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.7016, allocations: 483 kB / 0.9681 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7016, allocations: 0 / 0.9681 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.7022, allocations: 253.2 kB / 0.9683 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.7027, allocations: 63.11 kB / 0.9684 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.7043, allocations: 0.7444 MB / 0.9691 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.7047, allocations: 0.7978 MB / 0.9699 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003078/0.705, allocations: 61.36 kB / 0.97 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.7051, allocations: 21.28 kB / 0.97 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.7051, allocations: 3.938 kB / 0.97 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.009131/0.7143, allocations: 3.866 MB / 0.9738 GB, free: 10.59 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches