Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 115.9 kB / 16.42 MB, free: 6.504 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.001496/0.001496, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8221/0.824, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.09297/0.9171, allocations: 81.03 MB / 1.306 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03035/0.9475, allocations: 18.91 MB / 1.324 GB, free: 9.219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004781/0.9523, allocations: 99.5 kB / 1.324 GB, free: 9.121 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003974/0.9563, allocations: 1.203 MB / 1.325 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008797/0.9652, allocations: 2.931 MB / 1.328 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005254/0.9704, allocations: 1.914 MB / 1.33 GB, free: 3.066 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of NFFlatten.flatten: time 0.008502/0.9789, allocations: 5.529 MB / 1.335 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00439/0.9834, allocations: 2.605 MB / 1.338 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00552/0.9889, allocations: 2.183 MB / 1.34 GB, free: 8.684 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003442/0.9924, allocations: 1.668 MB / 1.342 GB, free: 7.008 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008103/0.9932, allocations: 300 kB / 1.342 GB, free: 6.715 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004265/0.9975, allocations: 1.696 MB / 1.344 GB, free: 5.016 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009703/0.9985, allocations: 0.6892 MB / 1.344 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/1.001, allocations: 1.439 MB / 1.346 GB, free: 2.879 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008362/1.009, allocations: 4.839 MB / 1.35 GB, free: 14.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.009, allocations: 4 kB / 1.35 GB, free: 14.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.724e-06/1.009, allocations: 0 / 1.35 GB, free: 14.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001056/1.009, allocations: 0 / 1.35 GB, free: 14.02 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 453 * Number of variables: 453 Notification: Performance of Generate backend data structure: time 0.006432/1.016, allocations: 3.113 MB / 1.354 GB, free: 10.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.016, allocations: 12.03 kB / 1.354 GB, free: 10.81 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/1.017, allocations: 441.9 kB / 1.354 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/1.022, allocations: 2.107 MB / 1.356 GB, free: 8.223 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/1.022, allocations: 147.5 kB / 1.356 GB, free: 8.078 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/1.022, allocations: 188 kB / 1.356 GB, free: 7.895 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/1.026, allocations: 1.897 MB / 1.358 GB, free: 5.934 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/1.026, allocations: 7.938 kB / 1.358 GB, free: 5.926 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/1.026, allocations: 76 kB / 1.358 GB, free: 5.852 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/1.026, allocations: 44 kB / 1.358 GB, free: 5.809 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003183/1.029, allocations: 1.434 MB / 1.36 GB, free: 4.371 MB / 1.076 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.01209/1.041, allocations: 8.05 MB / 1.368 GB, free: 11.9 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/1.044, allocations: 1.031 MB / 1.369 GB, free: 10.83 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/1.045, allocations: 367.2 kB / 1.369 GB, free: 10.47 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/1.046, allocations: 1.156 MB / 1.37 GB, free: 9.055 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/1.047, allocations: 446.8 kB / 1.37 GB, free: 8.609 MB / 1.092 GB Notification: Performance of pre-optimization done (n=67): time 3.276e-06/1.047, allocations: 0 / 1.37 GB, free: 8.609 MB / 1.092 GB Notification: Performance of matching and sorting (n=67): time 0.002841/1.05, allocations: 1.13 MB / 1.372 GB, free: 7.469 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/1.05, allocations: 137.1 kB / 1.372 GB, free: 7.305 MB / 1.092 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/1.053, allocations: 1.779 MB / 1.373 GB, free: 5.484 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/1.053, allocations: 53.7 kB / 1.374 GB, free: 5.426 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/1.054, allocations: 1.109 MB / 1.375 GB, free: 4.305 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/1.054, allocations: 257.9 kB / 1.375 GB, free: 4.051 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/1.055, allocations: 214.5 kB / 1.375 GB, free: 3.836 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.055, allocations: 341.9 kB / 1.375 GB, free: 3.496 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000803/1.056, allocations: 365.8 kB / 1.376 GB, free: 3.137 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.057, allocations: 0.7024 MB / 1.376 GB, free: 2.297 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/1.059, allocations: 0.9973 MB / 1.377 GB, free: 1.191 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.059, allocations: 0 / 1.377 GB, free: 1.191 MB / 1.092 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002744/1.062, allocations: 1.254 MB / 1.379 GB, free: 15.93 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.062, allocations: 12 kB / 1.379 GB, free: 15.91 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.062, allocations: 8 kB / 1.379 GB, free: 15.91 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/1.062, allocations: 12 kB / 1.379 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/1.062, allocations: 232.2 kB / 1.379 GB, free: 15.67 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/1.063, allocations: 23.91 kB / 1.379 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.064, allocations: 155.1 kB / 1.379 GB, free: 15.49 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.246e-05/1.064, allocations: 47.98 kB / 1.379 GB, free: 15.45 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.0009546/1.065, allocations: 0.4975 MB / 1.38 GB, free: 14.94 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003892/1.065, allocations: 202.7 kB / 1.38 GB, free: 14.74 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/1.068, allocations: 1.04 MB / 1.381 GB, free: 13.7 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001674/1.069, allocations: 0.8515 MB / 1.382 GB, free: 12.81 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.069, allocations: 0 / 1.382 GB, free: 12.81 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007737/1.07, allocations: 379.5 kB / 1.382 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/1.07, allocations: 23.98 kB / 1.382 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007834/1.071, allocations: 63.88 kB / 1.382 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.071, allocations: 52.58 kB / 1.382 GB, free: 12.29 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002424/1.074, allocations: 1.04 MB / 1.383 GB, free: 11.24 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00307/1.077, allocations: 1.644 MB / 1.385 GB, free: 9.574 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008052/1.078, allocations: 417 kB / 1.385 GB, free: 9.168 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00195/1.08, allocations: 1.206 MB / 1.386 GB, free: 7.941 MB / 1.107 GB Notification: Performance of Backend: time 4.61e-07/1.08, allocations: 3.938 kB / 1.386 GB, free: 7.938 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005021/1.085, allocations: 1.583 MB / 1.388 GB, free: 6.574 MB / 1.107 GB Notification: Performance of SimCode: time 0.008288/1.093, allocations: 4.51 MB / 1.392 GB, free: 2.016 MB / 1.107 GB Notification: Performance of Templates: time 0.06746/1.16, allocations: 37.67 MB / 1.429 GB, free: 12.79 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches