Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001247/0.001247, allocations: 100.3 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.001415/0.001415, allocations: 177.3 kB / 15.95 MB, free: 216 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.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.362/2.362, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 11.94 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6538/0.6542, allocations: 142.3 MB / 0.9535 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05087/0.7051, allocations: 52.52 MB / 1.005 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.7228, allocations: 11.28 MB / 1.016 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.7259, allocations: 55.62 kB / 1.016 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.7294, allocations: 0.8824 MB / 1.017 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007782/0.7372, allocations: 2.099 MB / 1.019 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.7421, allocations: 1.656 MB / 1.02 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004335/0.7465, allocations: 2.173 MB / 1.023 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.7479, allocations: 0.9727 MB / 1.023 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.7499, allocations: 1.024 MB / 1.024 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.7509, allocations: 0.7233 MB / 1.025 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.7511, allocations: 64 kB / 1.025 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.7536, allocations: 1.088 MB / 1.026 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.754, allocations: 318.8 kB / 1.027 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.7544, allocations: 344.8 kB / 1.027 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.757, allocations: 2.015 MB / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.757, allocations: 0 / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.757, allocations: 0 / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.907e-05/0.7571, allocations: 0 / 1.029 GB, free: 2.777 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003574/0.7607, allocations: 1.854 MB / 1.031 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.7607, allocations: 8.031 kB / 1.031 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/0.7633, allocations: 0.5559 MB / 1.031 GB, free: 308 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.766, allocations: 1.349 MB / 1.033 GB, free: 14.9 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007987/0.7668, allocations: 273.3 kB / 1.033 GB, free: 14.62 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.767, allocations: 95.94 kB / 1.033 GB, free: 14.53 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/0.7696, allocations: 1.212 MB / 1.034 GB, free: 13.29 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.7696, allocations: 3.938 kB / 1.034 GB, free: 13.28 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.7697, allocations: 36 kB / 1.034 GB, free: 13.25 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.7697, allocations: 24 kB / 1.034 GB, free: 13.22 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.7729, allocations: 1.241 MB / 1.035 GB, free: 11.98 MB / 0.795 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.007614/0.7805, allocations: 4.372 MB / 1.04 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008233/0.7887, allocations: 1.866 MB / 1.041 GB, free: 5.461 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.7899, allocations: 1.156 MB / 1.043 GB, free: 4.047 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.7912, allocations: 0.491 MB / 1.043 GB, free: 3.547 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 4.218e-06/0.7912, allocations: 0 / 1.043 GB, free: 3.547 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.003419/0.7947, allocations: 1.278 MB / 1.044 GB, free: 2.262 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.7947, allocations: 85.67 kB / 1.044 GB, free: 2.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.7972, allocations: 1.525 MB / 1.046 GB, free: 0.625 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.7973, allocations: 49.64 kB / 1.046 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000609/0.7979, allocations: 0.663 MB / 1.047 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.7982, allocations: 209 kB / 1.047 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.7983, allocations: 16 kB / 1.047 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7984, allocations: 330 kB / 1.047 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.7997, allocations: 461.7 kB / 1.048 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.801, allocations: 0.6072 MB / 1.048 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.8023, allocations: 494.9 kB / 1.049 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.8024, allocations: 4 kB / 1.049 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003189/0.8056, allocations: 1.229 MB / 1.05 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003383/0.8059, allocations: 0.9032 MB / 1.051 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.8059, allocations: 4 kB / 1.051 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.806, allocations: 4 kB / 1.051 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.8071, allocations: 235.7 kB / 1.051 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.8071, allocations: 4 kB / 1.051 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.8088, allocations: 246.9 kB / 1.051 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.891e-05/0.8089, allocations: 35.98 kB / 1.051 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.8089, allocations: 4 kB / 1.051 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002837/0.8117, allocations: 1.061 MB / 1.052 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8118, allocations: 0 / 1.052 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.8118, allocations: 12.25 kB / 1.052 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.8128, allocations: 223.7 kB / 1.052 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.8128, allocations: 7.938 kB / 1.052 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.8144, allocations: 222.9 kB / 1.053 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-05/0.8145, allocations: 31.98 kB / 1.053 GB, free: 9.453 MB / 0.8106 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.0007248/0.8152, allocations: 436.8 kB / 1.053 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.8154, allocations: 150.1 kB / 1.053 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.8181, allocations: 1.184 MB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/0.8181, allocations: 15.98 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8181, allocations: 3.938 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.8181, allocations: 0 / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004418/0.8226, allocations: 2.501 MB / 1.057 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.8226, allocations: 4 kB / 1.057 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.8233, allocations: 144.1 kB / 1.057 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.8233, allocations: 4 kB / 1.057 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.8234, allocations: 19.98 kB / 1.057 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.8234, allocations: 7.938 kB / 1.057 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8234, allocations: 4 kB / 1.057 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.8258, allocations: 1.34 MB / 1.058 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007104/0.8265, allocations: 374.7 kB / 1.059 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.8267, allocations: 20 kB / 1.059 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.8279, allocations: 123.8 kB / 1.059 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.828, allocations: 52.36 kB / 1.059 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.8281, allocations: 43.92 kB / 1.059 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001731/0.8298, allocations: 1.083 MB / 1.06 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3e-07/0.8298, allocations: 0 / 1.06 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001884/0.8317, allocations: 0.7018 MB / 1.061 GB, free: 1.035 MB / 0.8106 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.001663/0.8334, allocations: 0.7841 MB / 1.061 GB, free: 444 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004056/0.8375, allocations: 1.57 MB / 1.063 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8375, allocations: 0 / 1.063 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.8385, allocations: 470.9 kB / 1.063 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/0.8416, allocations: 0.6077 MB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.846, allocations: 2.862 MB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007777/0.8468, allocations: 1.273 MB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001827/0.8487, allocations: 399.5 kB / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.849, allocations: 123.4 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of SimCode: time 7.91e-07/0.849, allocations: 0 / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.04305/0.8921, allocations: 25.78 MB / 1.094 GB, free: 15.62 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches