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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.364/2.364, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 179.1 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.5 MB / 0.7868 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008613/0.0008612, allocations: 103.7 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.765e-05, allocations: 11.98 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2404, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.32, allocations: 431.8 MB / 1.634 GB, free: 15.3 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.32, allocations: 91.41 kB / 1.634 GB, free: 15.25 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.648/3.968, allocations: 0.6218 GB / 2.256 GB, free: 269.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/3.968, allocations: 0 / 2.256 GB, free: 269.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001321/3.968, allocations: 44.09 kB / 2.256 GB, free: 269.7 MB / 1.151 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.00326/3.971, allocations: 1.742 MB / 2.258 GB, free: 269 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/3.971, allocations: 10.88 kB / 2.258 GB, free: 269 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/3.973, allocations: 0.4981 MB / 2.258 GB, free: 268.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/3.976, allocations: 1.52 MB / 2.26 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006794/3.977, allocations: 238.7 kB / 2.26 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/3.977, allocations: 58.47 kB / 2.26 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001596/3.978, allocations: 1 MB / 2.261 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/3.98, allocations: 0.9923 MB / 2.262 GB, free: 268.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/3.98, allocations: 1.312 kB / 2.262 GB, free: 268.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/3.98, allocations: 7.859 kB / 2.262 GB, free: 268.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/3.98, allocations: 37.83 kB / 2.262 GB, free: 268.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006584/3.987, allocations: 4.36 MB / 2.266 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005849/3.993, allocations: 1.636 MB / 2.268 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/3.993, allocations: 371.7 kB / 2.268 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007288/3.994, allocations: 1.154 MB / 2.269 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006387/3.995, allocations: 459.9 kB / 2.27 GB, free: 265.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.577e-06/3.995, allocations: 3.875 kB / 2.27 GB, free: 265.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.002148/3.997, allocations: 0.8503 MB / 2.27 GB, free: 265.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/3.997, allocations: 85.33 kB / 2.271 GB, free: 265.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/3.999, allocations: 1.193 MB / 2.272 GB, free: 265.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/3.999, allocations: 29.64 kB / 2.272 GB, free: 265 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000536/4, allocations: 0.68 MB / 2.272 GB, free: 264.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/4, allocations: 208 kB / 2.273 GB, free: 264.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/4, allocations: 2.953 kB / 2.273 GB, free: 264.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/4, allocations: 339.8 kB / 2.273 GB, free: 264.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/4, allocations: 350.7 kB / 2.273 GB, free: 264.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/4.001, allocations: 0.519 MB / 2.274 GB, free: 264.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/4.002, allocations: 437 kB / 2.274 GB, free: 264.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/4.002, allocations: 0 / 2.274 GB, free: 264.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001769/4.004, allocations: 0.9969 MB / 2.275 GB, free: 264.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/4.004, allocations: 0.895 MB / 2.276 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/4.004, allocations: 3.875 kB / 2.276 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/4.004, allocations: 2.969 kB / 2.276 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/4.005, allocations: 223.4 kB / 2.276 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/4.005, allocations: 11.19 kB / 2.276 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/4.006, allocations: 200.3 kB / 2.276 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/4.006, allocations: 41.95 kB / 2.276 GB, free: 263.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/4.006, allocations: 3.875 kB / 2.276 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001372/4.008, allocations: 0.8305 MB / 2.277 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/4.008, allocations: 2.625 kB / 2.277 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/4.008, allocations: 7.875 kB / 2.277 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/4.009, allocations: 222.6 kB / 2.278 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/4.009, allocations: 14.55 kB / 2.278 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/4.01, allocations: 165.8 kB / 2.278 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/4.01, allocations: 31.39 kB / 2.278 GB, free: 263.1 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0002164/4.01, allocations: 126 kB / 2.278 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/4.011, allocations: 136.6 kB / 2.278 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/4.012, allocations: 1.084 MB / 2.279 GB, free: 262.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/4.012, allocations: 14.53 kB / 2.279 GB, free: 262.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/4.013, allocations: 3.953 kB / 2.279 GB, free: 262.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/4.013, allocations: 6.859 kB / 2.279 GB, free: 262.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/4.016, allocations: 2.52 MB / 2.281 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/4.016, allocations: 0 / 2.281 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/4.017, allocations: 169.2 kB / 2.282 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/4.017, allocations: 6.625 kB / 2.282 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/4.017, allocations: 17.64 kB / 2.282 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.15e-05/4.017, allocations: 5.219 kB / 2.282 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/4.017, allocations: 6.781 kB / 2.282 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/4.019, allocations: 1.28 MB / 2.283 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005804/4.019, allocations: 400.8 kB / 2.283 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/4.019, allocations: 11.11 kB / 2.283 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/4.02, allocations: 111.4 kB / 2.283 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/4.021, allocations: 53.81 kB / 2.283 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/4.021, allocations: 30.5 kB / 2.284 GB, free: 261.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001129/4.022, allocations: 0.9085 MB / 2.284 GB, free: 261.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/4.022, allocations: 0 / 2.284 GB, free: 261.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002044/4.024, allocations: 0.7619 MB / 2.285 GB, free: 261.5 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * 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.001917/4.026, allocations: 1.06 MB / 2.286 GB, free: 261.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001844/4.028, allocations: 1.333 MB / 2.287 GB, free: 261.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/4.028, allocations: 0 / 2.287 GB, free: 261.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005298/4.028, allocations: 458.5 kB / 2.288 GB, free: 261.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/4.03, allocations: 489 kB / 2.288 GB, free: 261.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/4.033, allocations: 1.856 MB / 2.29 GB, free: 260.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/4.034, allocations: 1.281 MB / 2.291 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001837/4.036, allocations: 0.499 MB / 2.292 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/4.036, allocations: 82.03 kB / 2.292 GB, free: 260 MB / 1.151 GB Notification: Performance of SimCode: time 5.01e-07/4.036, allocations: 2.938 kB / 2.292 GB, free: 260 MB / 1.151 GB Notification: Performance of Templates: time 0.0395/4.076, allocations: 26.22 MB / 2.318 GB, free: 259.2 MB / 1.151 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