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.001091/0.001091, allocations: 86.25 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.00145/0.00145, 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.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.434 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.375/2.375, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 11.98 kB / 0.8153 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6633, allocations: 142.4 MB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05556/0.7189, allocations: 57.85 MB / 1.011 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.7356, allocations: 12.21 MB / 1.023 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.7374, allocations: 55.62 kB / 1.023 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.7394, allocations: 0.6988 MB / 1.024 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003978/0.7434, allocations: 1.562 MB / 1.025 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.7462, allocations: 1.033 MB / 1.026 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00441/0.7507, allocations: 3.749 MB / 1.03 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.7522, allocations: 0.9452 MB / 1.031 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.7543, allocations: 1.104 MB / 1.032 GB, free: 116 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.7557, allocations: 0.9489 MB / 1.033 GB, free: 15.16 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.7558, allocations: 64 kB / 1.033 GB, free: 15.1 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.7585, allocations: 1.205 MB / 1.034 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.7589, allocations: 354.6 kB / 1.034 GB, free: 13.54 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004381/0.7594, allocations: 340.8 kB / 1.035 GB, free: 13.2 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.7623, allocations: 2.143 MB / 1.037 GB, free: 11.05 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.7623, allocations: 4 kB / 1.037 GB, free: 11.05 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7623, allocations: 0 / 1.037 GB, free: 11.05 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.855e-05/0.7624, allocations: 4 kB / 1.037 GB, free: 11.05 MB / 0.795 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.003748/0.7661, allocations: 1.879 MB / 1.039 GB, free: 9.109 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.7662, allocations: 8.031 kB / 1.039 GB, free: 9.102 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.7685, allocations: 0.5559 MB / 1.039 GB, free: 8.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.7709, allocations: 1.341 MB / 1.04 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000656/0.7715, allocations: 277.2 kB / 1.041 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.7717, allocations: 91.94 kB / 1.041 GB, free: 6.781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.7742, allocations: 1.271 MB / 1.042 GB, free: 5.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.7742, allocations: 0 / 1.042 GB, free: 5.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.7743, allocations: 36 kB / 1.042 GB, free: 5.445 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.7743, allocations: 20 kB / 1.042 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/0.7773, allocations: 1.343 MB / 1.043 GB, free: 4.078 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.006428/0.7837, allocations: 4.586 MB / 1.048 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007003/0.7907, allocations: 1.964 MB / 1.05 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009505/0.7917, allocations: 475.7 kB / 1.05 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007737/0.7925, allocations: 1.16 MB / 1.051 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.7936, allocations: 0.5378 MB / 1.052 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.705e-06/0.7936, allocations: 4 kB / 1.052 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.003163/0.7968, allocations: 1.411 MB / 1.053 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.7968, allocations: 89.67 kB / 1.053 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.7991, allocations: 1.619 MB / 1.055 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.7992, allocations: 41.7 kB / 1.055 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/0.7997, allocations: 0.6589 MB / 1.056 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.7999, allocations: 209 kB / 1.056 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.8, allocations: 12 kB / 1.056 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8001, allocations: 334 kB / 1.056 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.8013, allocations: 0.5016 MB / 1.057 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.8026, allocations: 0.6658 MB / 1.057 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.8038, allocations: 0.5379 MB / 1.058 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.8038, allocations: 0 / 1.058 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002816/0.8066, allocations: 1.327 MB / 1.059 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.26e-05/0.8067, allocations: 166.2 kB / 1.059 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.8067, allocations: 3.984 kB / 1.059 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.8068, allocations: 8 kB / 1.059 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000999/0.8078, allocations: 227.7 kB / 1.059 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.8078, allocations: 8 kB / 1.059 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.8091, allocations: 243 kB / 1.06 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.8092, allocations: 35.98 kB / 1.06 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/0.8092, allocations: 8 kB / 1.06 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002612/0.8118, allocations: 1.167 MB / 1.061 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8119, allocations: 4 kB / 1.061 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/0.8119, allocations: 4 kB / 1.061 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000935/0.8128, allocations: 239.9 kB / 1.061 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8128, allocations: 11.88 kB / 1.061 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.8139, allocations: 211 kB / 1.061 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.814, allocations: 35.97 kB / 1.061 GB, free: 0.9062 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.0006241/0.8146, allocations: 429.2 kB / 1.062 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.8148, allocations: 158.1 kB / 1.062 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.8173, allocations: 1.282 MB / 1.063 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.8174, allocations: 7.938 kB / 1.063 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8174, allocations: 4 kB / 1.063 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.8174, allocations: 3.984 kB / 1.063 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.8216, allocations: 2.739 MB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.8216, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.8222, allocations: 144 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.8222, allocations: 11.98 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.8223, allocations: 19.98 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.8223, allocations: 7.938 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.8223, allocations: 4 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.8245, allocations: 1.284 MB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/0.8251, allocations: 394.8 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.8253, allocations: 12 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.8263, allocations: 135.8 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.8264, allocations: 56.31 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/0.8265, allocations: 31.97 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001914/0.8284, allocations: 1.15 MB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8284, allocations: 3.938 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00215/0.8306, allocations: 0.7058 MB / 1.07 GB, free: 8.184 MB / 0.8262 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.001961/0.8326, allocations: 0.7574 MB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004161/0.8367, allocations: 1.722 MB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8367, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.8378, allocations: 0.5067 MB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.8406, allocations: 0.6131 MB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.845, allocations: 2.893 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008181/0.8459, allocations: 1.235 MB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001616/0.8475, allocations: 410.7 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.8479, allocations: 127.4 kB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of SimCode: time 7.41e-07/0.8479, allocations: 0 / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of Templates: time 0.04261/0.8905, allocations: 26.55 MB / 1.104 GB, free: 5.824 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches