Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009342/0.0009342, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009448/0.0009447, allocations: 177.3 kB / 15.94 MB, free: 228 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.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 12 kB / 0.8707 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5528, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05177/0.6046, allocations: 52.51 MB / 1.072 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.6214, allocations: 11.3 MB / 1.083 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.6237, allocations: 55.62 kB / 1.083 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.627, allocations: 0.8824 MB / 1.084 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006741/0.6338, allocations: 2.103 MB / 1.086 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.6386, allocations: 1.646 MB / 1.088 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005665/0.6442, allocations: 2.185 MB / 1.09 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.647, allocations: 0.9726 MB / 1.091 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.6504, allocations: 1.016 MB / 1.092 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.6522, allocations: 0.7428 MB / 1.092 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003166/0.6525, allocations: 56 kB / 1.093 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.6556, allocations: 1.088 MB / 1.094 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/0.6561, allocations: 314.8 kB / 1.094 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.6567, allocations: 344.8 kB / 1.094 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.6596, allocations: 2.019 MB / 1.096 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6596, allocations: 4 kB / 1.096 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6596, allocations: 0 / 1.096 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.083e-05/0.6597, allocations: 0 / 1.096 GB, free: 3.684 MB / 0.8419 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.004017/0.6637, allocations: 1.848 MB / 1.098 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.6637, allocations: 8.031 kB / 1.098 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/0.6665, allocations: 0.5559 MB / 1.099 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.6696, allocations: 1.345 MB / 1.1 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008117/0.6704, allocations: 281.2 kB / 1.1 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.6706, allocations: 96 kB / 1.1 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.6736, allocations: 1.209 MB / 1.101 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.6736, allocations: 7.938 kB / 1.101 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.6738, allocations: 36 kB / 1.101 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.6738, allocations: 27.95 kB / 1.101 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/0.6772, allocations: 1.237 MB / 1.103 GB, free: 12.88 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.008006/0.6852, allocations: 4.367 MB / 1.107 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008259/0.6935, allocations: 1.874 MB / 1.109 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009112/0.6945, allocations: 1.156 MB / 1.11 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.6958, allocations: 498.8 kB / 1.11 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/0.6958, allocations: 4 kB / 1.11 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60): time 0.003387/0.6992, allocations: 1.27 MB / 1.112 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.6993, allocations: 85.66 kB / 1.112 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.702, allocations: 1.545 MB / 1.113 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.7021, allocations: 41.7 kB / 1.113 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/0.7028, allocations: 0.659 MB / 1.114 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.7031, allocations: 209 kB / 1.114 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.7031, allocations: 16 kB / 1.114 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7032, allocations: 334 kB / 1.114 GB, free: 252 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.7045, allocations: 453.8 kB / 1.115 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.7059, allocations: 0.6111 MB / 1.115 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.7073, allocations: 498.9 kB / 1.116 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7073, allocations: 0 / 1.116 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003215/0.7105, allocations: 1.222 MB / 1.117 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003323/0.7109, allocations: 0.9147 MB / 1.118 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7109, allocations: 0 / 1.118 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.971e-05/0.7109, allocations: 11.98 kB / 1.118 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.712, allocations: 227.7 kB / 1.118 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.712, allocations: 4 kB / 1.118 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.7136, allocations: 250.9 kB / 1.119 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.7137, allocations: 31.98 kB / 1.119 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7138, allocations: 7.938 kB / 1.119 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002847/0.7166, allocations: 1.065 MB / 1.12 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7166, allocations: 4 kB / 1.12 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.7167, allocations: 7.953 kB / 1.12 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.7177, allocations: 224 kB / 1.12 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.7177, allocations: 19.92 kB / 1.12 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.7192, allocations: 211 kB / 1.12 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.7193, allocations: 35.98 kB / 1.12 GB, free: 10.34 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.0007578/0.7201, allocations: 434.8 kB / 1.12 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.7203, allocations: 150.1 kB / 1.121 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.7229, allocations: 1.178 MB / 1.122 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.7229, allocations: 11.95 kB / 1.122 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7229, allocations: 4 kB / 1.122 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.7229, allocations: 7.984 kB / 1.122 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/0.7273, allocations: 2.501 MB / 1.124 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7273, allocations: 0 / 1.124 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/0.728, allocations: 139.8 kB / 1.124 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.728, allocations: 4 kB / 1.124 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.7281, allocations: 24.02 kB / 1.124 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.7281, allocations: 11.94 kB / 1.124 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7281, allocations: 0 / 1.124 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.7304, allocations: 1.34 MB / 1.126 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006149/0.7311, allocations: 378.7 kB / 1.126 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.7313, allocations: 12 kB / 1.126 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.7324, allocations: 131.8 kB / 1.126 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.7325, allocations: 56.3 kB / 1.126 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.7326, allocations: 31.94 kB / 1.126 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001628/0.7342, allocations: 1.091 MB / 1.127 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7342, allocations: 7.875 kB / 1.127 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001724/0.736, allocations: 0.6941 MB / 1.128 GB, free: 1.93 MB / 0.8731 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.001506/0.7375, allocations: 0.7633 MB / 1.129 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003911/0.7414, allocations: 1.57 MB / 1.13 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.7414, allocations: 0 / 1.13 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.7424, allocations: 470.9 kB / 1.131 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.7452, allocations: 0.6091 MB / 1.131 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.7492, allocations: 2.865 MB / 1.134 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/0.7501, allocations: 1.273 MB / 1.135 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001607/0.7517, allocations: 404.7 kB / 1.136 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.752, allocations: 119.4 kB / 1.136 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of SimCode: time 6.31e-07/0.752, allocations: 0 / 1.136 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of Templates: time 0.04062/0.7927, allocations: 25.77 MB / 1.161 GB, free: 0.5586 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches