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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001141/0.001141, allocations: 87.11 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.001345/0.001345, 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.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 12 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5827, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05238/0.6351, allocations: 57.84 MB / 1.079 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.6517, allocations: 12.21 MB / 1.091 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.6542, allocations: 59.62 kB / 1.091 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.6568, allocations: 0.695 MB / 1.092 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.6614, allocations: 1.554 MB / 1.093 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.6645, allocations: 1.037 MB / 1.094 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004674/0.6692, allocations: 3.745 MB / 1.098 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.6708, allocations: 0.945 MB / 1.099 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.6729, allocations: 1.108 MB / 1.1 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.6743, allocations: 0.9606 MB / 1.101 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.6744, allocations: 68 kB / 1.101 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.677, allocations: 1.197 MB / 1.102 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.6774, allocations: 358.6 kB / 1.102 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.6779, allocations: 340.8 kB / 1.103 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.6804, allocations: 2.135 MB / 1.105 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6804, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6805, allocations: 3.938 kB / 1.105 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.688e-05/0.6805, allocations: 4 kB / 1.105 GB, free: 11.58 MB / 0.8575 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.003404/0.6839, allocations: 1.881 MB / 1.107 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.6839, allocations: 19.98 kB / 1.107 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.6863, allocations: 0.552 MB / 1.107 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.6888, allocations: 1.337 MB / 1.108 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006688/0.6894, allocations: 277.2 kB / 1.109 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.6896, allocations: 88 kB / 1.109 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.6922, allocations: 1.271 MB / 1.11 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.6922, allocations: 0 / 1.11 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.6923, allocations: 43.98 kB / 1.11 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.6924, allocations: 24 kB / 1.11 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.6954, allocations: 1.339 MB / 1.111 GB, free: 4.605 MB / 0.8575 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.006657/0.7021, allocations: 4.598 MB / 1.116 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007314/0.7094, allocations: 1.967 MB / 1.118 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.7104, allocations: 466.3 kB / 1.118 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007837/0.7112, allocations: 1.16 MB / 1.119 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.7124, allocations: 0.534 MB / 1.12 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.875e-06/0.7124, allocations: 0 / 1.12 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.003453/0.7159, allocations: 1.418 MB / 1.121 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.716, allocations: 85.62 kB / 1.121 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.7185, allocations: 1.623 MB / 1.123 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.7186, allocations: 41.7 kB / 1.123 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/0.7191, allocations: 0.6511 MB / 1.124 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.7194, allocations: 213 kB / 1.124 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.7194, allocations: 12 kB / 1.124 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7195, allocations: 338 kB / 1.124 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.7208, allocations: 0.4977 MB / 1.125 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.7222, allocations: 0.6657 MB / 1.125 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.7234, allocations: 0.5341 MB / 1.126 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.7234, allocations: 0 / 1.126 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003113/0.7265, allocations: 1.335 MB / 1.127 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/0.7267, allocations: 154.2 kB / 1.127 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7267, allocations: 4 kB / 1.127 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.7267, allocations: 7.953 kB / 1.127 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.7278, allocations: 235.7 kB / 1.127 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.7278, allocations: 15.92 kB / 1.127 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.7292, allocations: 242.9 kB / 1.128 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.7293, allocations: 39.92 kB / 1.128 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/0.7293, allocations: 4 kB / 1.128 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002724/0.7321, allocations: 1.163 MB / 1.129 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.7321, allocations: 4 kB / 1.129 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.7321, allocations: 8 kB / 1.129 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009932/0.7331, allocations: 235.9 kB / 1.129 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.7331, allocations: 8 kB / 1.129 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.7344, allocations: 215 kB / 1.129 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.7344, allocations: 31.98 kB / 1.129 GB, free: 1.422 MB / 0.8731 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 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006577/0.7351, allocations: 432.9 kB / 1.13 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.7353, allocations: 150.1 kB / 1.13 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.7379, allocations: 1.277 MB / 1.131 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.738, allocations: 11.98 kB / 1.131 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.738, allocations: 0 / 1.131 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.738, allocations: 3.984 kB / 1.131 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.7423, allocations: 2.743 MB / 1.134 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.7424, allocations: 4 kB / 1.134 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/0.7431, allocations: 152 kB / 1.134 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.7431, allocations: 4 kB / 1.134 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.7432, allocations: 23.98 kB / 1.134 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.7432, allocations: 4 kB / 1.134 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7432, allocations: 4 kB / 1.134 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.7455, allocations: 1.276 MB / 1.135 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006342/0.7462, allocations: 394.8 kB / 1.136 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.7464, allocations: 23.95 kB / 1.136 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.7474, allocations: 131.7 kB / 1.136 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.7476, allocations: 52.3 kB / 1.136 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.7477, allocations: 43.91 kB / 1.136 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00178/0.7494, allocations: 1.142 MB / 1.137 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7495, allocations: 0 / 1.137 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001809/0.7513, allocations: 0.7137 MB / 1.138 GB, free: 8.695 MB / 0.8887 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 (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.001655/0.7529, allocations: 0.74 MB / 1.138 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003925/0.7569, allocations: 1.722 MB / 1.14 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.7569, allocations: 0 / 1.14 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.7579, allocations: 0.5067 MB / 1.141 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/0.7609, allocations: 0.6348 MB / 1.141 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.7652, allocations: 2.889 MB / 1.144 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/0.766, allocations: 1.239 MB / 1.145 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001673/0.7677, allocations: 413.4 kB / 1.146 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.7681, allocations: 119.4 kB / 1.146 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.7681, allocations: 0 / 1.146 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of Templates: time 0.04348/0.8116, allocations: 26.55 MB / 1.172 GB, free: 6.363 MB / 0.92 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/jenkins/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