Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|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",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|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",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 183.2 kB / 16.92 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.9 MB / 0.667 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003264, allocations: 12 kB / 0.8166 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6436/0.644, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05714/0.7012, allocations: 59.77 MB / 1.014 GB, free: 3.352 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.7189, allocations: 11.91 MB / 1.026 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.7216, allocations: 51.62 kB / 1.026 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.7237, allocations: 0.5516 MB / 1.026 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.7296, allocations: 1.808 MB / 1.028 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.7332, allocations: 1.082 MB / 1.029 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005404/0.7386, allocations: 3.898 MB / 1.033 GB, free: 4 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.7406, allocations: 0.8922 MB / 1.034 GB, free: 15.08 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.7437, allocations: 1.116 MB / 1.035 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.7455, allocations: 0.8631 MB / 1.036 GB, free: 13.09 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.7459, allocations: 44 kB / 1.036 GB, free: 13.05 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.7496, allocations: 1.341 MB / 1.037 GB, free: 11.71 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.7501, allocations: 214.8 kB / 1.037 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.7517, allocations: 0.6311 MB / 1.038 GB, free: 10.86 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.7549, allocations: 1.695 MB / 1.04 GB, free: 9.156 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7549, allocations: 4 kB / 1.04 GB, free: 9.152 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7549, allocations: 3.938 kB / 1.04 GB, free: 9.148 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.187e-05/0.755, allocations: 4 kB / 1.04 GB, free: 9.145 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003942/0.759, allocations: 1.485 MB / 1.041 GB, free: 7.602 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.759, allocations: 12.03 kB / 1.041 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.7611, allocations: 383 kB / 1.041 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.764, allocations: 1.124 MB / 1.042 GB, free: 6.031 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004012/0.7644, allocations: 133.9 kB / 1.043 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.7646, allocations: 76 kB / 1.043 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.767, allocations: 0.97 MB / 1.044 GB, free: 4.812 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.7671, allocations: 0 / 1.044 GB, free: 4.812 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.531e-05/0.7672, allocations: 36 kB / 1.044 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.7672, allocations: 23.94 kB / 1.044 GB, free: 4.754 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.7695, allocations: 0.8469 MB / 1.045 GB, free: 3.906 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.00718/0.7767, allocations: 4.796 MB / 1.049 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.7784, allocations: 0.5947 MB / 1.05 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.7791, allocations: 288.6 kB / 1.05 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.7806, allocations: 1.392 MB / 1.051 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.7807, allocations: 38.56 kB / 1.051 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.7807, allocations: 0 / 1.051 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.007645/0.7883, allocations: 1.853 MB / 1.053 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.7884, allocations: 59.34 kB / 1.053 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.7905, allocations: 1.055 MB / 1.054 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.7906, allocations: 37.7 kB / 1.054 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/0.7911, allocations: 0.5235 MB / 1.055 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.7913, allocations: 153.8 kB / 1.055 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.7914, allocations: 49.69 kB / 1.055 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7915, allocations: 326 kB / 1.055 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008433/0.7924, allocations: 292.9 kB / 1.056 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.7934, allocations: 0.4895 MB / 1.056 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.795, allocations: 0.6588 MB / 1.057 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.795, allocations: 4 kB / 1.057 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002761/0.7978, allocations: 0.9805 MB / 1.058 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.7979, allocations: 213.5 kB / 1.058 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.798, allocations: 7.984 kB / 1.058 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.7994, allocations: 332.6 kB / 1.058 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.7999, allocations: 111.9 kB / 1.058 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.8015, allocations: 0.9486 MB / 1.059 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.803, allocations: 183.2 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.383e-05/0.8031, allocations: 27.98 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.8031, allocations: 4 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002416/0.8055, allocations: 0.8361 MB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.8055, allocations: 4 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.8068, allocations: 325 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.8073, allocations: 111.8 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.8088, allocations: 0.9487 MB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.8101, allocations: 159.3 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/0.8102, allocations: 31.98 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0006442/0.8108, allocations: 349.1 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.8112, allocations: 110.7 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/0.8145, allocations: 1.074 MB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.8146, allocations: 8 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8146, allocations: 4 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.8146, allocations: 7.922 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/0.8202, allocations: 2.161 MB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.8203, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.8205, allocations: 59.91 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.8217, allocations: 324.8 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.8218, allocations: 16 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.8234, allocations: 0.9713 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.8234, allocations: 4 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003828/0.8272, allocations: 1.184 MB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006829/0.8279, allocations: 287.4 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.8282, allocations: 12 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.8292, allocations: 107.8 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.8293, allocations: 43.81 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.8294, allocations: 23.92 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001365/0.8308, allocations: 0.743 MB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8308, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00196/0.8328, allocations: 0.5692 MB / 1.07 GB, free: 8.867 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 (33): * Single equations (assignments): 28 * 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.001004/0.8338, allocations: 408.6 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003034/0.8368, allocations: 1.066 MB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.8368, allocations: 0 / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008331/0.8377, allocations: 330.8 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/0.841, allocations: 0.495 MB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.8453, allocations: 2.294 MB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.846, allocations: 1.058 MB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.8463, allocations: 83.42 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of SimCode: time 7.12e-07/0.8463, allocations: 0 / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of Templates: time 0.03489/0.8812, allocations: 23.73 MB / 1.098 GB, free: 11.5 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches