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.001288/0.001288, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00137/0.00137, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.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.555/2.555, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5733, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00336/0.5767, allocations: 2.441 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.5785, allocations: 1.391 MB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.5787, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.5792, allocations: 203 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.5793, allocations: 55.55 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.5796, allocations: 99.83 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.5799, allocations: 322.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.58, allocations: 40.73 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.5802, allocations: 127.5 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.5804, allocations: 191.2 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.5804, allocations: 20 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.5806, allocations: 55.95 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.5807, allocations: 107.7 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.5809, allocations: 171 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.5813, allocations: 472.5 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5813, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5813, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.5813, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 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.001137/0.5824, allocations: 0.7044 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.5825, allocations: 12.03 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.5833, allocations: 140.3 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.5838, allocations: 362.1 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.974e-05/0.5839, allocations: 92.17 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.5839, allocations: 12.38 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.5846, allocations: 292.6 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5847, allocations: 3.984 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.5847, allocations: 4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5847, allocations: 4 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.5858, allocations: 420.3 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.5874, allocations: 0.8551 MB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.588, allocations: 270.3 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.5886, allocations: 216.7 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.5886, allocations: 4 kB / 1.025 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.5887, allocations: 38.56 kB / 1.025 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 3.607e-06/0.5887, allocations: 0 / 1.025 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001735/0.5904, allocations: 0.6516 MB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.5905, allocations: 59.34 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.5909, allocations: 425.6 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.5909, allocations: 33.64 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5911, allocations: 176 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.5911, allocations: 63.09 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.5912, allocations: 41.69 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.5914, allocations: 350.8 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.5919, allocations: 191.9 kB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.5925, allocations: 227.3 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009817/0.5934, allocations: 366.2 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5935, allocations: 0 / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001123/0.5946, allocations: 470.9 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5946, allocations: 11.94 kB / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5946, allocations: 0 / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.5946, allocations: 0 / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.5951, allocations: 63.86 kB / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5951, allocations: 3.938 kB / 1.028 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.5954, allocations: 51.78 kB / 1.028 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.5955, allocations: 4 kB / 1.028 GB, free: 6.359 MB / 0.7794 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.0001766/0.5956, allocations: 170.3 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.5957, allocations: 31.62 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.5958, allocations: 39.59 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5958, allocations: 0 / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.5958, allocations: 11.94 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5958, allocations: 3.984 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.5963, allocations: 482.7 kB / 1.029 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5964, allocations: 0 / 1.029 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.5968, allocations: 55.92 kB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5968, allocations: 4 kB / 1.029 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.5969, allocations: 4 kB / 1.029 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.5969, allocations: 0 / 1.029 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5969, allocations: 7.922 kB / 1.029 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.5981, allocations: 0.5509 MB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.5981, allocations: 116.6 kB / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/0.5982, allocations: 7.984 kB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.5986, allocations: 31.95 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.5987, allocations: 23.91 kB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.5987, allocations: 11.98 kB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003103/0.599, allocations: 307.1 kB / 1.03 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.599, allocations: 0 / 1.03 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003251/0.5993, allocations: 60 kB / 1.03 GB, free: 4.371 MB / 0.7794 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.0001229/0.5995, allocations: 119.1 kB / 1.03 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.6006, allocations: 423.6 kB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6006, allocations: 4 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005782/0.6012, allocations: 233.3 kB / 1.031 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.6016, allocations: 49.52 kB / 1.031 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.6029, allocations: 0.7661 MB / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.6033, allocations: 0.7872 MB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002827/0.6036, allocations: 58.27 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.6037, allocations: 27.42 kB / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6037, allocations: 4 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of Templates: time 0.007557/0.6113, allocations: 4.039 MB / 1.037 GB, free: 13.87 MB / 0.795 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