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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.037/2.037, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001073/0.001073, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.332/1.332, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008717/0.0008717, allocations: 87.91 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.925e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2699, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.414, allocations: 431 MB / 1.627 GB, free: 7.668 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.415, allocations: 90.39 kB / 1.627 GB, free: 7.625 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.489/3.904, allocations: 0.6218 GB / 2.249 GB, free: 275.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.543e-06/3.904, allocations: 0 / 2.249 GB, free: 275.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001674/3.904, allocations: 40.41 kB / 2.249 GB, free: 275.2 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.003672/3.908, allocations: 1.742 MB / 2.25 GB, free: 274.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/3.908, allocations: 9.781 kB / 2.25 GB, free: 274.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/3.91, allocations: 0.4938 MB / 2.251 GB, free: 274.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/3.913, allocations: 1.521 MB / 2.252 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007193/3.914, allocations: 240 kB / 2.253 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/3.914, allocations: 54.16 kB / 2.253 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001768/3.916, allocations: 1.005 MB / 2.254 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/3.917, allocations: 0.9952 MB / 2.255 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/3.918, allocations: 1.344 kB / 2.255 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/3.918, allocations: 4.344 kB / 2.255 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/3.918, allocations: 40.08 kB / 2.255 GB, free: 273.9 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.007236/3.925, allocations: 4.356 MB / 2.259 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005905/3.931, allocations: 1.64 MB / 2.261 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/3.931, allocations: 377.2 kB / 2.261 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/3.932, allocations: 1.158 MB / 2.262 GB, free: 271 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005789/3.933, allocations: 452 kB / 2.262 GB, free: 270.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 2.525e-06/3.933, allocations: 0 / 2.262 GB, free: 270.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.001728/3.934, allocations: 0.8548 MB / 2.263 GB, free: 270.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/3.934, allocations: 85.52 kB / 2.263 GB, free: 270.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/3.936, allocations: 1.191 MB / 2.265 GB, free: 270.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/3.936, allocations: 29.64 kB / 2.265 GB, free: 270.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/3.936, allocations: 0.6786 MB / 2.265 GB, free: 270.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/3.937, allocations: 207.2 kB / 2.265 GB, free: 270.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/3.937, allocations: 3.719 kB / 2.265 GB, free: 270.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/3.937, allocations: 328.9 kB / 2.266 GB, free: 269.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/3.937, allocations: 350.5 kB / 2.266 GB, free: 269.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/3.938, allocations: 0.5289 MB / 2.267 GB, free: 269.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008949/3.939, allocations: 433 kB / 2.267 GB, free: 269.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/3.939, allocations: 0 / 2.267 GB, free: 269.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001683/3.94, allocations: 1.003 MB / 2.268 GB, free: 269.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/3.941, allocations: 0.8908 MB / 2.269 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/3.941, allocations: 0 / 2.269 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/3.941, allocations: 6.688 kB / 2.269 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009955/3.942, allocations: 227.4 kB / 2.269 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/3.942, allocations: 10.23 kB / 2.269 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/3.943, allocations: 207.6 kB / 2.269 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/3.943, allocations: 43.86 kB / 2.269 GB, free: 268.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/3.943, allocations: 3.281 kB / 2.269 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001477/3.945, allocations: 0.8316 MB / 2.27 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/3.945, allocations: 7.344 kB / 2.27 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/3.945, allocations: 7.469 kB / 2.27 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009183/3.946, allocations: 220.3 kB / 2.27 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/3.946, allocations: 4.594 kB / 2.27 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/3.947, allocations: 171.1 kB / 2.271 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/3.947, allocations: 42.05 kB / 2.271 GB, free: 268.6 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.0002038/3.947, allocations: 114 kB / 2.271 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/3.948, allocations: 136.1 kB / 2.271 GB, free: 268.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/3.949, allocations: 1.091 MB / 2.272 GB, free: 268.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/3.949, allocations: 5.844 kB / 2.272 GB, free: 268.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/3.95, allocations: 0 / 2.272 GB, free: 268.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/3.95, allocations: 11.69 kB / 2.272 GB, free: 268.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/3.953, allocations: 2.527 MB / 2.274 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/3.953, allocations: 3.812 kB / 2.274 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/3.954, allocations: 164.1 kB / 2.275 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/3.954, allocations: 3.906 kB / 2.275 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/3.954, allocations: 22.09 kB / 2.275 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/3.954, allocations: 3.312 kB / 2.275 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/3.954, allocations: 10.94 kB / 2.275 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/3.955, allocations: 1.272 MB / 2.276 GB, free: 267.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/3.956, allocations: 399.9 kB / 2.276 GB, free: 267.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/3.956, allocations: 10.98 kB / 2.276 GB, free: 267.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009909/3.957, allocations: 109.4 kB / 2.276 GB, free: 267.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/3.957, allocations: 60.36 kB / 2.276 GB, free: 267.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/3.957, allocations: 33.97 kB / 2.276 GB, free: 267.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001129/3.958, allocations: 0.9058 MB / 2.277 GB, free: 267.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.2e-07/3.958, allocations: 0 / 2.277 GB, free: 267.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002236/3.961, allocations: 0.7593 MB / 2.278 GB, free: 267 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.002278/3.963, allocations: 1.053 MB / 2.279 GB, free: 266.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001994/3.965, allocations: 1.345 MB / 2.28 GB, free: 266.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/3.965, allocations: 2.875 kB / 2.28 GB, free: 266.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000527/3.965, allocations: 451.4 kB / 2.281 GB, free: 266.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/3.968, allocations: 492.6 kB / 2.281 GB, free: 266.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/3.971, allocations: 1.851 MB / 2.283 GB, free: 266.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/3.972, allocations: 1.28 MB / 2.284 GB, free: 265.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002289/3.974, allocations: 0.4964 MB / 2.285 GB, free: 265.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/3.974, allocations: 94.83 kB / 2.285 GB, free: 265.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/3.974, allocations: 0 / 2.285 GB, free: 265.5 MB / 1.151 GB Notification: Performance of Templates: time 0.04164/4.016, allocations: 26.23 MB / 2.311 GB, free: 264.7 MB / 1.151 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