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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001096/0.001096, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00898/0.00898, allocations: 170 kB / 16.26 MB, free: 6.613 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5988/0.5991, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06251/0.6617, allocations: 61.21 MB / 1.015 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.6798, allocations: 12.93 MB / 1.027 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.682, allocations: 55.62 kB / 1.027 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.6845, allocations: 0.7965 MB / 1.028 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005587/0.6901, allocations: 1.824 MB / 1.03 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.6937, allocations: 1.227 MB / 1.031 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005685/0.6994, allocations: 4.32 MB / 1.035 GB, free: 12.73 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.7014, allocations: 1.067 MB / 1.037 GB, free: 11.64 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.7038, allocations: 1.139 MB / 1.038 GB, free: 10.49 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.7054, allocations: 1.011 MB / 1.039 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.7057, allocations: 64 kB / 1.039 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.7088, allocations: 1.512 MB / 1.04 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004509/0.7092, allocations: 366.5 kB / 1.04 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.7103, allocations: 0.8097 MB / 1.041 GB, free: 6.719 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.7141, allocations: 2.831 MB / 1.044 GB, free: 3.879 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7142, allocations: 0 / 1.044 GB, free: 3.879 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7142, allocations: 3.938 kB / 1.044 GB, free: 3.875 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.921e-05/0.7142, allocations: 0 / 1.044 GB, free: 3.875 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.003546/0.7178, allocations: 1.856 MB / 1.046 GB, free: 1.957 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.7178, allocations: 8.031 kB / 1.046 GB, free: 1.949 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.7204, allocations: 0.553 MB / 1.046 GB, free: 1.395 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.7229, allocations: 1.415 MB / 1.048 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008065/0.7237, allocations: 277.3 kB / 1.048 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.7239, allocations: 88 kB / 1.048 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.7267, allocations: 1.275 MB / 1.049 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.7267, allocations: 0 / 1.049 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.7268, allocations: 36 kB / 1.049 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.7268, allocations: 28 kB / 1.049 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.7303, allocations: 1.343 MB / 1.051 GB, free: 12.84 MB / 0.8106 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.007043/0.7373, allocations: 4.586 MB / 1.055 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008707/0.7461, allocations: 1.979 MB / 1.057 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.7473, allocations: 483.6 kB / 1.058 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008434/0.7482, allocations: 1.145 MB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.7495, allocations: 0.5457 MB / 1.059 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.955e-06/0.7495, allocations: 0 / 1.059 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.003591/0.7531, allocations: 1.418 MB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.7532, allocations: 85.67 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.7557, allocations: 1.634 MB / 1.062 GB, free: 400 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.682e-05/0.7558, allocations: 45.7 kB / 1.062 GB, free: 348 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005791/0.7564, allocations: 0.6473 MB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.7566, allocations: 209 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.7567, allocations: 61.69 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7568, allocations: 341.9 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.7583, allocations: 0.5055 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.7598, allocations: 0.6774 MB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.7623, allocations: 1.001 MB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.7623, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003569/0.7659, allocations: 1.343 MB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.873e-05/0.766, allocations: 158.2 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.766, allocations: 4 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.766, allocations: 7.984 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.7672, allocations: 235.6 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.7672, allocations: 4 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.7688, allocations: 250.9 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-05/0.769, allocations: 39.97 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.769, allocations: 4 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003079/0.7721, allocations: 1.175 MB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.7721, allocations: 0 / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.7721, allocations: 8 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.7732, allocations: 235.9 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.7732, allocations: 15.92 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.7747, allocations: 207.1 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.7748, allocations: 31.98 kB / 1.069 GB, free: 9.062 MB / 0.8262 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.000665/0.7754, allocations: 432.9 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.7757, allocations: 150.1 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.7785, allocations: 1.284 MB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.7786, allocations: 7.984 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7786, allocations: 0 / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.7786, allocations: 3.984 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/0.7834, allocations: 2.746 MB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.7835, allocations: 7.875 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.7842, allocations: 144.1 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.7843, allocations: 8 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.7843, allocations: 23.97 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.7843, allocations: 7.938 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.7843, allocations: 7.938 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.787, allocations: 1.284 MB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.7877, allocations: 398.7 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.7879, allocations: 16 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.7891, allocations: 131.8 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.7893, allocations: 44.38 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/0.7894, allocations: 39.91 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001913/0.7913, allocations: 1.157 MB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7913, allocations: 0 / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00177/0.7931, allocations: 0.7098 MB / 1.078 GB, free: 320 kB / 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 (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.00166/0.7947, allocations: 0.7723 MB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004351/0.7991, allocations: 1.738 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7991, allocations: 0 / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.8003, allocations: 0.5106 MB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003934/0.8043, allocations: 0.6418 MB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.8088, allocations: 3.002 MB / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008493/0.8097, allocations: 1.239 MB / 1.085 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001678/0.8114, allocations: 410.5 kB / 1.086 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.8118, allocations: 123.4 kB / 1.086 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of SimCode: time 7.61e-07/0.8118, allocations: 4 kB / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of Templates: time 0.04944/0.8612, allocations: 28.34 MB / 1.114 GB, free: 11.99 MB / 0.8731 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