Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_y_etaPL,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008286/0.0008285, allocations: 98.03 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.005639/0.005639, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437.8 MB / 0.7121 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003887, allocations: 8 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6788, allocations: 153.8 MB / 1.023 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07906/0.7579, allocations: 73.47 MB / 1.095 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.7778, allocations: 12.68 MB / 1.107 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00325/0.7811, allocations: 59.62 kB / 1.107 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.7837, allocations: 0.6798 MB / 1.108 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007258/0.791, allocations: 2.267 MB / 1.11 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003749/0.7948, allocations: 1.268 MB / 1.111 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007822/0.8026, allocations: 5.548 MB / 1.117 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.8051, allocations: 1.141 MB / 1.118 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.8088, allocations: 1.314 MB / 1.119 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.8112, allocations: 1.143 MB / 1.12 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000419/0.8116, allocations: 56 kB / 1.12 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.8154, allocations: 1.251 MB / 1.122 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006186/0.816, allocations: 290.6 kB / 1.122 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.8177, allocations: 0.7983 MB / 1.123 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004764/0.8225, allocations: 2.734 MB / 1.125 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8225, allocations: 0 / 1.125 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8225, allocations: 0 / 1.125 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.715e-05/0.8226, allocations: 0 / 1.125 GB, free: 6.863 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004592/0.8272, allocations: 1.789 MB / 1.127 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.8273, allocations: 11.98 kB / 1.127 GB, free: 5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.8284, allocations: 242.8 kB / 1.127 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.8325, allocations: 1.501 MB / 1.129 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.8326, allocations: 74 kB / 1.129 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.8329, allocations: 100 kB / 1.129 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.8354, allocations: 1.12 MB / 1.13 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.8355, allocations: 3.938 kB / 1.13 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.8356, allocations: 44 kB / 1.13 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/0.8357, allocations: 24 kB / 1.13 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.8379, allocations: 0.929 MB / 1.131 GB, free: 0.8828 MB / 0.8731 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.00719/0.8451, allocations: 4.919 MB / 1.136 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.8466, allocations: 0.6506 MB / 1.136 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008083/0.8475, allocations: 374.3 kB / 1.137 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006875/0.8482, allocations: 0.8238 MB / 1.138 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.8482, allocations: 39.12 kB / 1.138 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/0.8482, allocations: 0 / 1.138 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.008072/0.8563, allocations: 1.916 MB / 1.139 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.8563, allocations: 55.97 kB / 1.139 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.8582, allocations: 1.206 MB / 1.141 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/0.8583, allocations: 37.7 kB / 1.141 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.8589, allocations: 0.5987 MB / 1.141 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.8592, allocations: 220.9 kB / 1.142 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.8593, allocations: 61.69 kB / 1.142 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.8595, allocations: 337.9 kB / 1.142 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007728/0.8602, allocations: 305.8 kB / 1.142 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009891/0.8612, allocations: 0.499 MB / 1.143 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.8629, allocations: 0.751 MB / 1.143 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8629, allocations: 0 / 1.143 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005224/0.8681, allocations: 1.413 MB / 1.145 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.8683, allocations: 193.4 kB / 1.145 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.8683, allocations: 4 kB / 1.145 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007537/0.869, allocations: 172.6 kB / 1.145 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.8697, allocations: 159.8 kB / 1.145 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009684/0.8707, allocations: 0.7357 MB / 1.146 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.8721, allocations: 164.9 kB / 1.146 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/0.8722, allocations: 35.98 kB / 1.146 GB, free: 480 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.8722, allocations: 4 kB / 1.146 GB, free: 476 kB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004939/0.8771, allocations: 1.254 MB / 1.147 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.8772, allocations: 8.031 kB / 1.147 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/0.8778, allocations: 164.7 kB / 1.148 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.8784, allocations: 163.8 kB / 1.148 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000889/0.8793, allocations: 0.7318 MB / 1.148 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.8806, allocations: 163.1 kB / 1.149 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/0.8807, allocations: 24 kB / 1.149 GB, free: 13.93 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006685/0.8813, allocations: 421 kB / 1.149 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.8816, allocations: 134.3 kB / 1.149 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005234/0.8869, allocations: 1.424 MB / 1.151 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.8869, allocations: 15.92 kB / 1.151 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8869, allocations: 0 / 1.151 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004644/0.8916, allocations: 1.248 MB / 1.152 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007366/0.8989, allocations: 2.759 MB / 1.154 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.899, allocations: 4 kB / 1.154 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.8995, allocations: 119.9 kB / 1.155 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006539/0.9001, allocations: 164.8 kB / 1.155 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.9002, allocations: 16 kB / 1.155 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008711/0.9011, allocations: 0.72 MB / 1.155 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.9011, allocations: 4 kB / 1.155 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/0.9069, allocations: 1.856 MB / 1.157 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/0.9076, allocations: 343 kB / 1.158 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.9078, allocations: 16 kB / 1.158 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.9089, allocations: 98.75 kB / 1.158 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.909, allocations: 56.25 kB / 1.158 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.9091, allocations: 27.98 kB / 1.158 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001453/0.9105, allocations: 0.8738 MB / 1.159 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9106, allocations: 0 / 1.159 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001947/0.9125, allocations: 0.7018 MB / 1.159 GB, free: 2.664 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009629/0.9135, allocations: 454.7 kB / 1.16 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.9164, allocations: 1.176 MB / 1.161 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9164, allocations: 0 / 1.161 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.9174, allocations: 415.2 kB / 1.161 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004741/0.9222, allocations: 0.7927 MB / 1.162 GB, free: 15.86 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.9267, allocations: 2.802 MB / 1.165 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/0.9277, allocations: 1.177 MB / 1.166 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001457/0.9291, allocations: 310.8 kB / 1.166 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/0.9296, allocations: 107.4 kB / 1.166 GB, free: 11.37 MB / 0.92 GB Notification: Performance of SimCode: time 7.51e-07/0.9297, allocations: 4 kB / 1.166 GB, free: 11.37 MB / 0.92 GB Notification: Performance of Templates: time 0.1021/1.032, allocations: 31.71 MB / 1.197 GB, free: 12.01 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches