Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.000975/0.0009748, allocations: 91.53 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.000989/0.000989, allocations: 181.6 kB / 16.92 MB, free: 6.926 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003834, allocations: 12 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7003/0.7008, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05913/0.7599, allocations: 59.78 MB / 1.082 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01734/0.7773, allocations: 11.91 MB / 1.094 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/0.7799, allocations: 55.62 kB / 1.094 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.7819, allocations: 0.5477 MB / 1.094 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005907/0.7878, allocations: 1.804 MB / 1.096 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.7912, allocations: 1.086 MB / 1.097 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005544/0.7967, allocations: 3.898 MB / 1.101 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.7985, allocations: 0.8922 MB / 1.102 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.8016, allocations: 1.124 MB / 1.103 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.8033, allocations: 0.8592 MB / 1.104 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.8035, allocations: 40 kB / 1.104 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.8068, allocations: 1.353 MB / 1.105 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.8071, allocations: 210.9 kB / 1.105 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009659/0.8081, allocations: 0.635 MB / 1.106 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.8107, allocations: 1.691 MB / 1.108 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8107, allocations: 8 kB / 1.108 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8107, allocations: 0 / 1.108 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.509e-05/0.8108, allocations: 0 / 1.108 GB, free: 9.68 MB / 0.8575 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.003119/0.8139, allocations: 1.489 MB / 1.109 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.814, allocations: 11.97 kB / 1.109 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.8158, allocations: 383 kB / 1.109 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.8181, allocations: 1.121 MB / 1.11 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.8184, allocations: 125.9 kB / 1.111 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.8186, allocations: 80 kB / 1.111 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.8206, allocations: 0.97 MB / 1.112 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.8206, allocations: 3.938 kB / 1.112 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/0.8207, allocations: 36 kB / 1.112 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.8207, allocations: 20 kB / 1.112 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.8229, allocations: 0.8392 MB / 1.112 GB, free: 4.457 MB / 0.8575 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.006782/0.8297, allocations: 4.815 MB / 1.117 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.8314, allocations: 0.6032 MB / 1.118 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.832, allocations: 284.7 kB / 1.118 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.8335, allocations: 1.392 MB / 1.119 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.8336, allocations: 42.5 kB / 1.119 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.544e-06/0.8336, allocations: 0 / 1.119 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.008701/0.8423, allocations: 1.848 MB / 1.121 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.8424, allocations: 55.41 kB / 1.121 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.8441, allocations: 1.063 MB / 1.122 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/0.8442, allocations: 33.7 kB / 1.122 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.8447, allocations: 0.5196 MB / 1.123 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.8449, allocations: 153.8 kB / 1.123 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-05/0.845, allocations: 49.69 kB / 1.123 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8452, allocations: 329.9 kB / 1.123 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008648/0.846, allocations: 284.9 kB / 1.124 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009852/0.847, allocations: 0.4973 MB / 1.124 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.8487, allocations: 0.6587 MB / 1.125 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8487, allocations: 3.938 kB / 1.125 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002612/0.8513, allocations: 0.9805 MB / 1.126 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.8515, allocations: 216.4 kB / 1.126 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.8515, allocations: 4 kB / 1.126 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.8529, allocations: 335.5 kB / 1.126 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.8533, allocations: 111.8 kB / 1.126 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.8549, allocations: 0.9387 MB / 1.127 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.8563, allocations: 171.3 kB / 1.127 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/0.8564, allocations: 31.98 kB / 1.128 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.8564, allocations: 4.938 kB / 1.128 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002293/0.8587, allocations: 0.8472 MB / 1.128 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8587, allocations: 7.984 kB / 1.128 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.8599, allocations: 317 kB / 1.129 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.8603, allocations: 119.8 kB / 1.129 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.8619, allocations: 0.9371 MB / 1.13 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.8631, allocations: 171.3 kB / 1.13 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.8632, allocations: 27.98 kB / 1.13 GB, free: 1.641 MB / 0.8731 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.0005767/0.8638, allocations: 353 kB / 1.13 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.8639, allocations: 110.7 kB / 1.13 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.8671, allocations: 1.073 MB / 1.131 GB, free: 96 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.8671, allocations: 8 kB / 1.131 GB, free: 88 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.8671, allocations: 7.984 kB / 1.131 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.8671, allocations: 0 / 1.131 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.8724, allocations: 2.18 MB / 1.134 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.8724, allocations: 4 kB / 1.134 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.8727, allocations: 55.91 kB / 1.134 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.8739, allocations: 321.9 kB / 1.134 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.8739, allocations: 15.92 kB / 1.134 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.8755, allocations: 0.966 MB / 1.135 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8756, allocations: 0 / 1.135 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/0.8793, allocations: 1.199 MB / 1.136 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/0.8798, allocations: 271.5 kB / 1.136 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.88, allocations: 8 kB / 1.136 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/0.8809, allocations: 107.8 kB / 1.136 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.881, allocations: 43.77 kB / 1.136 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.881, allocations: 23.98 kB / 1.136 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0012/0.8822, allocations: 0.7469 MB / 1.137 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.8822, allocations: 0 / 1.137 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001565/0.8838, allocations: 0.5731 MB / 1.138 GB, free: 9.398 MB / 0.8887 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.0008892/0.8847, allocations: 394.8 kB / 1.138 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.8876, allocations: 1.059 MB / 1.139 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.8877, allocations: 0 / 1.139 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008538/0.8885, allocations: 330.5 kB / 1.139 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/0.8915, allocations: 0.5113 MB / 1.14 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.8953, allocations: 2.294 MB / 1.142 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.8961, allocations: 1.062 MB / 1.143 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.8963, allocations: 79.42 kB / 1.143 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of SimCode: time 2.134e-06/0.8964, allocations: 0 / 1.143 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of Templates: time 0.03726/0.9336, allocations: 23.73 MB / 1.166 GB, free: 12.04 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches