Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_11_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_11_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.005929/0.005929, allocations: 96.27 kB / 15.73 MB, free: 6.039 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.001229/0.001229, allocations: 200.7 kB / 16.68 MB, free: 5.969 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3232, allocations: 159.1 MB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.8008/1.124, allocations: 81.16 MB / 1.3 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03372/1.158, allocations: 18.95 MB / 1.318 GB, free: 3.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00721/1.165, allocations: 103.7 kB / 1.319 GB, free: 3.875 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004744/1.17, allocations: 1.21 MB / 1.32 GB, free: 3.168 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/1.18, allocations: 2.934 MB / 1.323 GB, free: 1.402 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01117/1.192, allocations: 1.923 MB / 1.324 GB, free: 300 kB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 11.1.0-maint.11.x/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.01408/1.206, allocations: 5.497 MB / 1.33 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004924/1.211, allocations: 2.099 MB / 1.332 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006959/1.218, allocations: 2.191 MB / 1.334 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004499/1.222, allocations: 1.669 MB / 1.336 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0009191/1.223, allocations: 301.9 kB / 1.336 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006361/1.229, allocations: 1.7 MB / 1.338 GB, free: 9.816 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/1.231, allocations: 0.7079 MB / 1.338 GB, free: 9.348 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002864/1.233, allocations: 1.439 MB / 1.34 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/1.244, allocations: 4.837 MB / 1.344 GB, free: 6.559 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/1.244, allocations: 0 / 1.344 GB, free: 6.559 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/1.244, allocations: 0 / 1.344 GB, free: 6.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001466/1.244, allocations: 0 / 1.344 GB, free: 6.559 MB / 1.045 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.007825/1.252, allocations: 3.12 MB / 1.347 GB, free: 4.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.252, allocations: 13.48 kB / 1.347 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/1.254, allocations: 438.4 kB / 1.348 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004511/1.259, allocations: 2.115 MB / 1.35 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/1.259, allocations: 146 kB / 1.35 GB, free: 2.738 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/1.259, allocations: 186.7 kB / 1.35 GB, free: 2.676 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/1.263, allocations: 1.904 MB / 1.352 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/1.263, allocations: 1.562 kB / 1.352 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/1.263, allocations: 73 kB / 1.352 GB, free: 1.445 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/1.263, allocations: 45.75 kB / 1.352 GB, free: 1.445 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/1.266, allocations: 1.443 MB / 1.354 GB, free: 0.7227 MB / 1.045 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.01293/1.279, allocations: 8.037 MB / 1.362 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/1.281, allocations: 0.9954 MB / 1.362 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/1.282, allocations: 347.2 kB / 1.363 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009076/1.283, allocations: 1.155 MB / 1.364 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009498/1.284, allocations: 435.5 kB / 1.364 GB, free: 7.516 MB / 1.061 GB Notification: Performance of pre-optimization done (n=67): time 3.617e-06/1.284, allocations: 1.062 kB / 1.364 GB, free: 7.516 MB / 1.061 GB Notification: Performance of matching and sorting (n=67): time 0.003028/1.287, allocations: 1.137 MB / 1.365 GB, free: 6.957 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/1.287, allocations: 136.5 kB / 1.366 GB, free: 6.797 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 11.1.0-maint.11.x/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.002992/1.29, allocations: 1.781 MB / 1.367 GB, free: 5.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/1.29, allocations: 46.11 kB / 1.367 GB, free: 5.758 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.291, allocations: 1.106 MB / 1.368 GB, free: 4.781 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/1.292, allocations: 256.1 kB / 1.369 GB, free: 4.562 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/1.292, allocations: 220 kB / 1.369 GB, free: 4.434 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.292, allocations: 342.5 kB / 1.369 GB, free: 4.102 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008426/1.293, allocations: 364.6 kB / 1.37 GB, free: 3.922 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/1.294, allocations: 0.6932 MB / 1.37 GB, free: 3.324 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/1.296, allocations: 1 MB / 1.371 GB, free: 2.602 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.296, allocations: 2.312 kB / 1.371 GB, free: 2.602 MB / 1.061 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003128/1.299, allocations: 1.261 MB / 1.372 GB, free: 1.957 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.299, allocations: 13.56 kB / 1.372 GB, free: 1.953 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.299, allocations: 7.719 kB / 1.373 GB, free: 1.953 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/1.299, allocations: 13.75 kB / 1.373 GB, free: 1.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/1.3, allocations: 222.4 kB / 1.373 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.458e-05/1.3, allocations: 24.53 kB / 1.373 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.302, allocations: 150.2 kB / 1.373 GB, free: 1.797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.302, allocations: 49.83 kB / 1.373 GB, free: 1.785 MB / 1.061 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.001169/1.303, allocations: 0.5049 MB / 1.373 GB, free: 1.422 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006395/1.304, allocations: 206.2 kB / 1.374 GB, free: 1.309 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/1.306, allocations: 1.042 MB / 1.375 GB, free: 0.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.306, allocations: 8.406 kB / 1.375 GB, free: 0.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.306, allocations: 0 / 1.375 GB, free: 0.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001609/1.308, allocations: 0.8585 MB / 1.375 GB, free: 260 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/1.314, allocations: 2.842 MB / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.314, allocations: 1.438 kB / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/1.315, allocations: 140.7 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.315, allocations: 3.844 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/1.315, allocations: 30.52 kB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/1.315, allocations: 12.75 kB / 1.378 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.315, allocations: 1.312 kB / 1.378 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/1.318, allocations: 1.529 MB / 1.38 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009429/1.319, allocations: 393.2 kB / 1.38 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005005/1.319, allocations: 25.56 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.32, allocations: 60.11 kB / 1.38 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.321, allocations: 59.89 kB / 1.38 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/1.321, allocations: 43.56 kB / 1.381 GB, free: 12.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002098/1.323, allocations: 1.195 MB / 1.382 GB, free: 12.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.323, allocations: 0 / 1.382 GB, free: 12.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002206/1.325, allocations: 0.6543 MB / 1.382 GB, free: 12.09 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * 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.002163/1.327, allocations: 0.8953 MB / 1.383 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001928/1.329, allocations: 0.8547 MB / 1.384 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.329, allocations: 0 / 1.384 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008158/1.33, allocations: 394.4 kB / 1.384 GB, free: 11.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/1.334, allocations: 0.8538 MB / 1.385 GB, free: 10.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/1.341, allocations: 3.64 MB / 1.389 GB, free: 8.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/1.343, allocations: 1.497 MB / 1.39 GB, free: 6.488 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002377/1.346, allocations: 360 kB / 1.391 GB, free: 6.145 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/1.347, allocations: 151.3 kB / 1.391 GB, free: 5.996 MB / 1.076 GB Notification: Performance of SimCode: time 1.413e-06/1.347, allocations: 0 / 1.391 GB, free: 5.996 MB / 1.076 GB Notification: Performance of Templates: time 0.06808/1.415, allocations: 35.46 MB / 1.425 GB, free: 3 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches