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.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_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.00117/0.00117, allocations: 91.92 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.001828/0.001828, allocations: 180.1 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.458/1.458, allocations: 223.3 MB / 241 MB, free: 5.273 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.581/2.581, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 8 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6508/0.6512, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07219/0.7234, allocations: 73.46 MB / 1.095 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.7416, allocations: 12.69 MB / 1.108 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.7442, allocations: 59.56 kB / 1.108 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.7464, allocations: 0.676 MB / 1.109 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006613/0.753, allocations: 2.263 MB / 1.111 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.7563, allocations: 1.269 MB / 1.112 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006768/0.7631, allocations: 5.555 MB / 1.117 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.765, allocations: 1.149 MB / 1.119 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.7681, allocations: 1.306 MB / 1.12 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.77, allocations: 1.131 MB / 1.121 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.7702, allocations: 59.94 kB / 1.121 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.7732, allocations: 1.251 MB / 1.122 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.7735, allocations: 294.6 kB / 1.122 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009854/0.7745, allocations: 0.7983 MB / 1.123 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.7772, allocations: 2.17 MB / 1.125 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7772, allocations: 0 / 1.125 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7772, allocations: 0 / 1.125 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.023e-05/0.7773, allocations: 0 / 1.125 GB, free: 7.371 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.003512/0.7808, allocations: 1.785 MB / 1.127 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7808, allocations: 11.98 kB / 1.127 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.7817, allocations: 246.8 kB / 1.127 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.7841, allocations: 1.497 MB / 1.129 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.7842, allocations: 74 kB / 1.129 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.7844, allocations: 100 kB / 1.129 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.7865, allocations: 1.124 MB / 1.13 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.7865, allocations: 0 / 1.13 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.544e-05/0.7866, allocations: 43.98 kB / 1.13 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/0.7867, allocations: 35.92 kB / 1.13 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.7887, allocations: 0.9174 MB / 1.131 GB, free: 1.395 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.006279/0.795, allocations: 4.911 MB / 1.136 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.7965, allocations: 0.6544 MB / 1.136 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007988/0.7973, allocations: 378.3 kB / 1.137 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006796/0.798, allocations: 0.8316 MB / 1.138 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.798, allocations: 43.11 kB / 1.138 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 2.726e-06/0.798, allocations: 0 / 1.138 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.008046/0.8061, allocations: 1.892 MB / 1.14 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.8062, allocations: 55.97 kB / 1.14 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.808, allocations: 1.21 MB / 1.141 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.8081, allocations: 41.7 kB / 1.141 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/0.8087, allocations: 0.6103 MB / 1.141 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.8089, allocations: 212.9 kB / 1.142 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.809, allocations: 65.69 kB / 1.142 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8092, allocations: 333.9 kB / 1.142 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007244/0.8099, allocations: 305.8 kB / 1.142 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008616/0.8108, allocations: 0.4991 MB / 1.143 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.8123, allocations: 0.7509 MB / 1.144 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.8123, allocations: 0 / 1.144 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005121/0.8174, allocations: 1.413 MB / 1.145 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.8176, allocations: 189.4 kB / 1.145 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.8176, allocations: 4 kB / 1.145 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007116/0.8183, allocations: 172.6 kB / 1.145 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.8189, allocations: 167.7 kB / 1.145 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008987/0.8198, allocations: 0.7251 MB / 1.146 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.8211, allocations: 168.7 kB / 1.146 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.8212, allocations: 35.98 kB / 1.146 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.8212, allocations: 11.94 kB / 1.146 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004745/0.826, allocations: 1.261 MB / 1.148 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.826, allocations: 4 kB / 1.148 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/0.8267, allocations: 165.1 kB / 1.148 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.8273, allocations: 159.8 kB / 1.148 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008696/0.8282, allocations: 0.7395 MB / 1.149 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.8295, allocations: 159.2 kB / 1.149 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.8295, allocations: 31.98 kB / 1.149 GB, free: 14.43 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.0007015/0.8303, allocations: 414.5 kB / 1.149 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.8305, allocations: 134.3 kB / 1.149 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005065/0.8356, allocations: 1.42 MB / 1.151 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.8356, allocations: 15.94 kB / 1.151 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.8356, allocations: 0 / 1.151 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004573/0.8402, allocations: 1.244 MB / 1.152 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007159/0.8474, allocations: 2.746 MB / 1.155 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.8474, allocations: 4 kB / 1.155 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.8479, allocations: 128.2 kB / 1.155 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006357/0.8486, allocations: 172.6 kB / 1.155 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.8486, allocations: 16 kB / 1.155 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008801/0.8495, allocations: 0.7201 MB / 1.156 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.8495, allocations: 4 kB / 1.156 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/0.8553, allocations: 1.856 MB / 1.157 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000756/0.8561, allocations: 343 kB / 1.158 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.8563, allocations: 16 kB / 1.158 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009057/0.8572, allocations: 87.88 kB / 1.158 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.8573, allocations: 60.25 kB / 1.158 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.8574, allocations: 27.98 kB / 1.158 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001349/0.8587, allocations: 0.8738 MB / 1.159 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8587, allocations: 0 / 1.159 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001743/0.8605, allocations: 0.7018 MB / 1.159 GB, free: 3.176 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.0009378/0.8614, allocations: 459.4 kB / 1.16 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002697/0.8641, allocations: 1.176 MB / 1.161 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8642, allocations: 0 / 1.161 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009846/0.8652, allocations: 415.2 kB / 1.161 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/0.8695, allocations: 0.7921 MB / 1.162 GB, free: 380 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.874, allocations: 2.849 MB / 1.165 GB, free: 13.45 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/0.8747, allocations: 1.165 MB / 1.166 GB, free: 12.25 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.8752, allocations: 119.4 kB / 1.166 GB, free: 12.14 MB / 0.92 GB Notification: Performance of SimCode: time 8.61e-07/0.8752, allocations: 0 / 1.166 GB, free: 12.14 MB / 0.92 GB Notification: Performance of Templates: time 0.04282/0.918, allocations: 30.65 MB / 1.196 GB, free: 13.66 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/jenkins1/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