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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.00161, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001498/0.001499, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8812/0.8827, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06954/0.9523, allocations: 62.75 MB / 1.27 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.9724, allocations: 13.06 MB / 1.282 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.9754, allocations: 67.62 kB / 1.283 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003421/0.9789, allocations: 0.9355 MB / 1.283 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006619/0.9856, allocations: 1.993 MB / 1.285 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.99, allocations: 1.389 MB / 1.287 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005812/0.9958, allocations: 3.484 MB / 1.29 GB, free: 9.629 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.9984, allocations: 1.28 MB / 1.291 GB, free: 8.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/1.002, allocations: 1.388 MB / 1.293 GB, free: 6.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/1.005, allocations: 1.062 MB / 1.294 GB, free: 5.863 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006434/1.006, allocations: 156 kB / 1.294 GB, free: 5.711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005111/1.011, allocations: 1.61 MB / 1.296 GB, free: 4.098 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009083/1.012, allocations: 470.4 kB / 1.296 GB, free: 3.637 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/1.014, allocations: 0.89 MB / 1.297 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006336/1.02, allocations: 2.962 MB / 1.3 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/1.02, allocations: 0 / 1.3 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/1.02, allocations: 0 / 1.3 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.001e-05/1.02, allocations: 3.938 kB / 1.3 GB, free: 15.77 MB / 1.029 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.005553/1.026, allocations: 2.175 MB / 1.302 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.026, allocations: 8.031 kB / 1.302 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/1.028, allocations: 498.2 kB / 1.302 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/1.032, allocations: 1.423 MB / 1.304 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/1.032, allocations: 141.4 kB / 1.304 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/1.032, allocations: 96 kB / 1.304 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/1.036, allocations: 1.228 MB / 1.305 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/1.036, allocations: 8 kB / 1.305 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/1.036, allocations: 36 kB / 1.305 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/1.036, allocations: 20 kB / 1.305 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/1.039, allocations: 1.276 MB / 1.306 GB, free: 8.723 MB / 1.029 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.008017/1.047, allocations: 4.535 MB / 1.311 GB, free: 3.949 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007975/1.055, allocations: 1.724 MB / 1.313 GB, free: 2.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/1.056, allocations: 450.3 kB / 1.313 GB, free: 1.738 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/1.057, allocations: 1.156 MB / 1.314 GB, free: 328 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/1.058, allocations: 0.5223 MB / 1.315 GB, free: 15.79 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 4.919e-06/1.058, allocations: 4 kB / 1.315 GB, free: 15.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.003762/1.062, allocations: 1.368 MB / 1.316 GB, free: 14.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/1.062, allocations: 85.67 kB / 1.316 GB, free: 14.31 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003036/1.065, allocations: 1.623 MB / 1.318 GB, free: 12.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.066, allocations: 41.7 kB / 1.318 GB, free: 12.63 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000661/1.066, allocations: 0.6589 MB / 1.318 GB, free: 11.96 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/1.066, allocations: 209 kB / 1.319 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/1.067, allocations: 162.5 kB / 1.319 GB, free: 11.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.067, allocations: 341.9 kB / 1.319 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/1.068, allocations: 484.5 kB / 1.319 GB, free: 10.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/1.07, allocations: 0.6345 MB / 1.32 GB, free: 10.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/1.072, allocations: 0.95 MB / 1.321 GB, free: 9.105 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.072, allocations: 0 / 1.321 GB, free: 9.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0034/1.075, allocations: 1.264 MB / 1.322 GB, free: 7.832 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.075, allocations: 4 kB / 1.322 GB, free: 7.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.075, allocations: 7.984 kB / 1.322 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.075, allocations: 4.25 kB / 1.322 GB, free: 7.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/1.076, allocations: 219.6 kB / 1.322 GB, free: 7.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/1.077, allocations: 12 kB / 1.322 GB, free: 7.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.078, allocations: 187 kB / 1.323 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.078, allocations: 35.97 kB / 1.323 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00181/1.08, allocations: 0.7595 MB / 1.323 GB, free: 6.605 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001409/1.081, allocations: 0.6345 MB / 1.324 GB, free: 5.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002242/1.084, allocations: 0.9498 MB / 1.325 GB, free: 4.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.628e-06/1.084, allocations: 3.938 kB / 1.325 GB, free: 4.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003364/1.087, allocations: 1.257 MB / 1.326 GB, free: 3.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.087, allocations: 9.719 kB / 1.326 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.087, allocations: 4 kB / 1.326 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/1.087, allocations: 4 kB / 1.326 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.088, allocations: 215.8 kB / 1.326 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.088, allocations: 7.984 kB / 1.326 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.09, allocations: 179.3 kB / 1.327 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.575e-05/1.09, allocations: 27.98 kB / 1.327 GB, free: 3.23 MB / 1.045 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.0003067/1.09, allocations: 230 kB / 1.327 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/1.091, allocations: 150.1 kB / 1.327 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/1.093, allocations: 1.24 MB / 1.328 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/1.094, allocations: 8 kB / 1.328 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.094, allocations: 0 / 1.328 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.094, allocations: 3.984 kB / 1.328 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005243/1.099, allocations: 2.719 MB / 1.331 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.099, allocations: 7.938 kB / 1.331 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/1.1, allocations: 136.1 kB / 1.331 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/1.1, allocations: 7.938 kB / 1.331 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/1.1, allocations: 19.98 kB / 1.331 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/1.1, allocations: 8 kB / 1.331 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.1, allocations: 4 kB / 1.331 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/1.102, allocations: 1.257 MB / 1.332 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007775/1.103, allocations: 386.8 kB / 1.333 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/1.104, allocations: 16 kB / 1.333 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.105, allocations: 87.89 kB / 1.333 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/1.105, allocations: 52.31 kB / 1.333 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/1.105, allocations: 39.84 kB / 1.333 GB, free: 12.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00222/1.107, allocations: 1.153 MB / 1.334 GB, free: 11.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.31e-07/1.107, allocations: 0 / 1.334 GB, free: 11.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002288/1.11, allocations: 0.7215 MB / 1.335 GB, free: 10.83 MB / 1.061 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.001939/1.112, allocations: 0.7736 MB / 1.335 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004424/1.116, allocations: 1.644 MB / 1.337 GB, free: 8.602 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.116, allocations: 0 / 1.337 GB, free: 8.602 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.117, allocations: 494.9 kB / 1.337 GB, free: 8.121 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/1.121, allocations: 0.6516 MB / 1.338 GB, free: 7.477 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/1.126, allocations: 2.521 MB / 1.341 GB, free: 4.883 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.127, allocations: 1.238 MB / 1.342 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/1.128, allocations: 131.4 kB / 1.342 GB, free: 3.484 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/1.128, allocations: 4 kB / 1.342 GB, free: 3.48 MB / 1.061 GB Notification: Performance of Templates: time 0.04033/1.168, allocations: 26.52 MB / 1.368 GB, free: 9.184 MB / 1.092 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches