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.0008431/0.0008431, allocations: 92.23 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 181 kB / 16.92 MB, free: 6.926 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.254 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.451/2.451, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.738/0.7384, allocations: 142.4 MB / 0.9557 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05718/0.7956, allocations: 61.22 MB / 1.015 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.8147, allocations: 12.92 MB / 1.028 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.8177, allocations: 59.62 kB / 1.028 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.8208, allocations: 0.7887 MB / 1.029 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.8267, allocations: 1.825 MB / 1.031 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.8303, allocations: 1.236 MB / 1.032 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006003/0.8363, allocations: 4.319 MB / 1.036 GB, free: 12.89 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.8382, allocations: 1.067 MB / 1.037 GB, free: 11.79 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.8409, allocations: 1.143 MB / 1.038 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.8427, allocations: 1.011 MB / 1.039 GB, free: 9.629 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.843, allocations: 64 kB / 1.039 GB, free: 9.566 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.8465, allocations: 1.516 MB / 1.041 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007621/0.8473, allocations: 370.5 kB / 1.041 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.8492, allocations: 0.8097 MB / 1.042 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00476/0.8539, allocations: 2.202 MB / 1.044 GB, free: 4.656 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.854, allocations: 3.938 kB / 1.044 GB, free: 4.652 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.056e-06/0.854, allocations: 0 / 1.044 GB, free: 4.652 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.324e-05/0.8541, allocations: 0 / 1.044 GB, free: 4.652 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.005615/0.8597, allocations: 1.864 MB / 1.046 GB, free: 2.727 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.8598, allocations: 12.02 kB / 1.046 GB, free: 2.715 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.8638, allocations: 0.553 MB / 1.046 GB, free: 2.16 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/0.8683, allocations: 1.401 MB / 1.048 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001141/0.8695, allocations: 277.2 kB / 1.048 GB, free: 436 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/0.8699, allocations: 92 kB / 1.048 GB, free: 344 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004519/0.8744, allocations: 1.275 MB / 1.049 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.8745, allocations: 4 kB / 1.049 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.8747, allocations: 36 kB / 1.049 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.8747, allocations: 20 kB / 1.05 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/0.88, allocations: 1.343 MB / 1.051 GB, free: 13.62 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.01145/0.8915, allocations: 4.594 MB / 1.055 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009823/0.9014, allocations: 1.975 MB / 1.057 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.9027, allocations: 476 kB / 1.058 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.9037, allocations: 1.156 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001473/0.9052, allocations: 0.5379 MB / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 4.539e-06/0.9052, allocations: 0 / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.003865/0.9091, allocations: 1.418 MB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.9092, allocations: 93.66 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.9126, allocations: 1.627 MB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.9128, allocations: 49.69 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/0.9135, allocations: 0.6511 MB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/0.9138, allocations: 205 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.9139, allocations: 69.67 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9141, allocations: 333.9 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.9156, allocations: 0.5016 MB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.9172, allocations: 0.6774 MB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/0.9197, allocations: 1.009 MB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9197, allocations: 0 / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003782/0.9235, allocations: 1.339 MB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.9237, allocations: 158.4 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.9237, allocations: 4 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.9237, allocations: 4 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.9249, allocations: 243.6 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.9249, allocations: 15.92 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.9267, allocations: 246.9 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.9268, allocations: 31.98 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.9268, allocations: 4 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003179/0.93, allocations: 1.171 MB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.93, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.93, allocations: 8.25 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.9311, allocations: 235.7 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.9311, allocations: 4 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.9327, allocations: 211 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.9328, allocations: 35.98 kB / 1.069 GB, free: 9.84 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.0008761/0.9337, allocations: 436.8 kB / 1.07 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/0.9342, allocations: 150.1 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.9372, allocations: 1.281 MB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.9373, allocations: 7.984 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.9373, allocations: 4 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.9373, allocations: 0 / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/0.9427, allocations: 2.746 MB / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.9428, allocations: 3.938 kB / 1.074 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.9435, allocations: 152.1 kB / 1.074 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/0.9436, allocations: 8 kB / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.709e-05/0.9436, allocations: 19.98 kB / 1.074 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.556e-05/0.9437, allocations: 8 kB / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/0.9437, allocations: 7.938 kB / 1.074 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/0.9468, allocations: 1.28 MB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008176/0.9477, allocations: 402.7 kB / 1.076 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/0.948, allocations: 12 kB / 1.076 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.9494, allocations: 135.7 kB / 1.076 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.9495, allocations: 52.36 kB / 1.076 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.269e-05/0.9496, allocations: 35.92 kB / 1.076 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002425/0.9521, allocations: 1.157 MB / 1.077 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9521, allocations: 4 kB / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002429/0.9545, allocations: 0.702 MB / 1.078 GB, free: 1.09 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 (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.002047/0.9566, allocations: 0.7695 MB / 1.079 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004841/0.9614, allocations: 1.734 MB / 1.08 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.9615, allocations: 0 / 1.08 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.9627, allocations: 0.5145 MB / 1.081 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00457/0.9673, allocations: 0.6397 MB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/0.973, allocations: 3.066 MB / 1.084 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/0.974, allocations: 1.239 MB / 1.086 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007582/0.9748, allocations: 139.4 kB / 1.086 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of SimCode: time 1.313e-06/0.9748, allocations: 0 / 1.086 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of Templates: time 0.04109/1.016, allocations: 25.94 MB / 1.111 GB, free: 15.36 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/jenkins1/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