Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 103.5 kB / 16.4 MB, free: 6.469 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.001139/0.001139, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.17 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.434/2.434, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9089/0.9104, allocations: 151.6 MB / 1.167 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06223/0.9726, allocations: 62.76 MB / 1.229 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01892/0.9916, allocations: 13.06 MB / 1.241 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.9947, allocations: 67.62 kB / 1.241 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.9982, allocations: 0.9589 MB / 1.242 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006672/1.005, allocations: 2.093 MB / 1.244 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004285/1.009, allocations: 1.393 MB / 1.246 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005819/1.015, allocations: 3.493 MB / 1.249 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003811/1.019, allocations: 1.272 MB / 1.25 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005274/1.024, allocations: 1.396 MB / 1.252 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/1.027, allocations: 1.066 MB / 1.253 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007106/1.028, allocations: 156 kB / 1.253 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/1.032, allocations: 1.61 MB / 1.255 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007799/1.033, allocations: 474.4 kB / 1.255 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001914/1.035, allocations: 0.8861 MB / 1.256 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006617/1.041, allocations: 2.966 MB / 1.259 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.041, allocations: 0 / 1.259 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.234e-06/1.041, allocations: 0 / 1.259 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.936e-05/1.041, allocations: 0 / 1.259 GB, free: 6.016 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.005909/1.047, allocations: 2.175 MB / 1.261 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.047, allocations: 12.88 kB / 1.261 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/1.05, allocations: 498.2 kB / 1.261 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/1.054, allocations: 1.415 MB / 1.263 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/1.054, allocations: 149.4 kB / 1.263 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/1.055, allocations: 95.94 kB / 1.263 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003319/1.058, allocations: 1.232 MB / 1.264 GB, free: 308 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/1.058, allocations: 0 / 1.264 GB, free: 308 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/1.058, allocations: 40 kB / 1.264 GB, free: 268 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/1.058, allocations: 24 kB / 1.264 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/1.062, allocations: 1.272 MB / 1.265 GB, free: 14.97 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008686/1.07, allocations: 4.527 MB / 1.27 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007906/1.078, allocations: 1.727 MB / 1.272 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/1.079, allocations: 450.3 kB / 1.272 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009809/1.08, allocations: 1.156 MB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/1.082, allocations: 0.5145 MB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 6.302e-06/1.082, allocations: 0 / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.003702/1.086, allocations: 1.375 MB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/1.086, allocations: 85.67 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/1.089, allocations: 1.623 MB / 1.277 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.089, allocations: 41.7 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006838/1.09, allocations: 0.6589 MB / 1.277 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/1.09, allocations: 209 kB / 1.278 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/1.09, allocations: 166.4 kB / 1.278 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.09, allocations: 333.9 kB / 1.278 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/1.092, allocations: 488.5 kB / 1.278 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/1.093, allocations: 0.6345 MB / 1.279 GB, free: 352 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/1.095, allocations: 0.95 MB / 1.28 GB, free: 15.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/1.095, allocations: 0 / 1.28 GB, free: 15.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003342/1.099, allocations: 1.264 MB / 1.281 GB, free: 14.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/1.099, allocations: 4 kB / 1.281 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.099, allocations: 4 kB / 1.281 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/1.099, allocations: 4.25 kB / 1.281 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.1, allocations: 215.6 kB / 1.281 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/1.1, allocations: 7.984 kB / 1.281 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.102, allocations: 195 kB / 1.282 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.102, allocations: 35.97 kB / 1.282 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00184/1.104, allocations: 0.7595 MB / 1.282 GB, free: 12.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001445/1.105, allocations: 0.6384 MB / 1.283 GB, free: 12.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002248/1.107, allocations: 0.946 MB / 1.284 GB, free: 11.19 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.524e-06/1.107, allocations: 0 / 1.284 GB, free: 11.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003614/1.111, allocations: 1.257 MB / 1.285 GB, free: 9.922 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.111, allocations: 10.34 kB / 1.285 GB, free: 9.914 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.111, allocations: 3.984 kB / 1.285 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.111, allocations: 8 kB / 1.285 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.112, allocations: 215.7 kB / 1.285 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.112, allocations: 8 kB / 1.285 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.114, allocations: 175.3 kB / 1.286 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.114, allocations: 35.98 kB / 1.286 GB, free: 9.477 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0003702/1.114, allocations: 228 kB / 1.286 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/1.115, allocations: 150.1 kB / 1.286 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/1.118, allocations: 1.247 MB / 1.287 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.118, allocations: 8 kB / 1.287 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/1.118, allocations: 0 / 1.287 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.118, allocations: 3.984 kB / 1.287 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006169/1.124, allocations: 2.723 MB / 1.29 GB, free: 5.031 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/1.124, allocations: 3.938 kB / 1.29 GB, free: 5.027 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/1.125, allocations: 136.1 kB / 1.29 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.125, allocations: 11.94 kB / 1.29 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/1.125, allocations: 23.97 kB / 1.29 GB, free: 4.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.125, allocations: 4 kB / 1.29 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.125, allocations: 4 kB / 1.29 GB, free: 4.852 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/1.128, allocations: 1.253 MB / 1.291 GB, free: 3.547 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.129, allocations: 386.8 kB / 1.292 GB, free: 3.148 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003994/1.129, allocations: 16 kB / 1.292 GB, free: 3.133 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.131, allocations: 91.88 kB / 1.292 GB, free: 3.043 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.131, allocations: 52.31 kB / 1.292 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/1.131, allocations: 31.92 kB / 1.292 GB, free: 2.961 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002503/1.134, allocations: 1.157 MB / 1.293 GB, free: 1.809 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.7e-07/1.134, allocations: 0 / 1.293 GB, free: 1.809 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002942/1.136, allocations: 0.7137 MB / 1.294 GB, free: 1.094 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.002534/1.139, allocations: 0.7747 MB / 1.294 GB, free: 476 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004593/1.144, allocations: 1.648 MB / 1.296 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.144, allocations: 0 / 1.296 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/1.145, allocations: 498.9 kB / 1.297 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/1.149, allocations: 0.6598 MB / 1.297 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/1.154, allocations: 2.509 MB / 1.3 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.155, allocations: 1.238 MB / 1.301 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/1.155, allocations: 131.4 kB / 1.301 GB, free: 9.711 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/1.155, allocations: 0 / 1.301 GB, free: 9.711 MB / 1.029 GB Notification: Performance of Templates: time 0.04402/1.2, allocations: 26.51 MB / 1.327 GB, free: 15.36 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches