Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0122/0.0122, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003728, allocations: 12 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.868/0.8684, allocations: 142.4 MB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.06608/0.9346, allocations: 59.82 MB / 1.013 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.9576, allocations: 11.93 MB / 1.025 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004285/0.962, allocations: 55.62 kB / 1.025 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.9651, allocations: 0.5516 MB / 1.026 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008271/0.9734, allocations: 1.808 MB / 1.027 GB, free: 5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003809/0.9772, allocations: 1.076 MB / 1.029 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006072/0.9833, allocations: 3.921 MB / 1.032 GB, free: 4 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.9851, allocations: 0.9071 MB / 1.033 GB, free: 15.06 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.9884, allocations: 1.124 MB / 1.034 GB, free: 13.93 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.9902, allocations: 0.8592 MB / 1.035 GB, free: 13.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.9904, allocations: 40 kB / 1.035 GB, free: 13.03 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.9937, allocations: 1.337 MB / 1.037 GB, free: 11.69 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.994, allocations: 214.9 kB / 1.037 GB, free: 11.48 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.9951, allocations: 0.6388 MB / 1.037 GB, free: 10.83 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003899/0.999, allocations: 2.208 MB / 1.039 GB, free: 8.617 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.999, allocations: 0 / 1.039 GB, free: 8.617 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.665e-06/0.999, allocations: 0 / 1.039 GB, free: 8.617 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.095e-05/0.999, allocations: 0 / 1.039 GB, free: 8.617 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003297/1.002, allocations: 1.524 MB / 1.041 GB, free: 7.035 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/1.002, allocations: 8.031 kB / 1.041 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/1.005, allocations: 470.8 kB / 1.041 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/1.007, allocations: 1.128 MB / 1.043 GB, free: 5.379 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/1.007, allocations: 129.9 kB / 1.043 GB, free: 5.254 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.008, allocations: 80 kB / 1.043 GB, free: 5.176 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/1.01, allocations: 1.032 MB / 1.044 GB, free: 4.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/1.01, allocations: 3.938 kB / 1.044 GB, free: 4.094 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/1.01, allocations: 36 kB / 1.044 GB, free: 4.059 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/1.01, allocations: 20 kB / 1.044 GB, free: 4.039 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/1.013, allocations: 0.9485 MB / 1.045 GB, free: 3.09 MB / 0.795 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.007551/1.02, allocations: 4.898 MB / 1.05 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/1.024, allocations: 0.9216 MB / 1.05 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008745/1.025, allocations: 342 kB / 1.051 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009653/1.026, allocations: 0.9064 MB / 1.052 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.794e-05/1.026, allocations: 38.56 kB / 1.052 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 4.268e-06/1.026, allocations: 4 kB / 1.052 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.007368/1.033, allocations: 1.841 MB / 1.053 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/1.033, allocations: 55.41 kB / 1.054 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.035, allocations: 1.064 MB / 1.055 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/1.035, allocations: 37.7 kB / 1.055 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/1.036, allocations: 0.5235 MB / 1.055 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/1.036, allocations: 153.8 kB / 1.055 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/1.036, allocations: 45.7 kB / 1.055 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.036, allocations: 337.9 kB / 1.056 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/1.037, allocations: 344.9 kB / 1.056 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/1.038, allocations: 0.547 MB / 1.056 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/1.04, allocations: 0.7686 MB / 1.057 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.04, allocations: 0 / 1.057 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003067/1.043, allocations: 1.093 MB / 1.058 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.044, allocations: 209.3 kB / 1.058 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.044, allocations: 7.938 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/1.045, allocations: 332.7 kB / 1.059 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/1.046, allocations: 139.8 kB / 1.059 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/1.047, allocations: 0.9386 MB / 1.06 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.049, allocations: 203.2 kB / 1.06 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/1.049, allocations: 35.92 kB / 1.06 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/1.049, allocations: 7.938 kB / 1.06 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002648/1.051, allocations: 0.9492 MB / 1.061 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.051, allocations: 4 kB / 1.061 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.053, allocations: 334.8 kB / 1.061 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/1.053, allocations: 139.8 kB / 1.061 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/1.055, allocations: 0.931 MB / 1.062 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.056, allocations: 179.3 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/1.056, allocations: 31.98 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006173/1.057, allocations: 352.9 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/1.057, allocations: 106.7 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/1.06, allocations: 1.193 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.06, allocations: 4 kB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.06, allocations: 0 / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.06, allocations: 7.984 kB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/1.066, allocations: 2.323 MB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.066, allocations: 4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/1.066, allocations: 80.17 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/1.067, allocations: 314.3 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/1.067, allocations: 19.98 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/1.069, allocations: 0.9737 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.069, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/1.073, allocations: 1.318 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/1.074, allocations: 287.4 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.074, allocations: 8 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009666/1.075, allocations: 131.7 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/1.075, allocations: 35.89 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/1.075, allocations: 23.98 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001211/1.076, allocations: 0.751 MB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.5e-07/1.076, allocations: 3.938 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001617/1.078, allocations: 0.5575 MB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008426/1.079, allocations: 386 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003539/1.082, allocations: 1.23 MB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.082, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.083, allocations: 394.2 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/1.086, allocations: 0.502 MB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005949/1.092, allocations: 2.569 MB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/1.093, allocations: 1.065 MB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001067/1.094, allocations: 223.8 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/1.094, allocations: 75.42 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of SimCode: time 1.412e-06/1.094, allocations: 0 / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of Templates: time 0.04499/1.139, allocations: 24.05 MB / 1.101 GB, free: 8.922 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches