Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.295/2.295, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 184.8 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 221.5 MB / 0.7868 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 103.6 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.012e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3396, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/1.701, allocations: 425 MB / 1.627 GB, free: 6.098 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/1.702, allocations: 92.78 kB / 1.627 GB, free: 6.051 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.465/5.166, allocations: 0.8488 GB / 2.476 GB, free: 154.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.296e-06/5.166, allocations: 5.562 kB / 2.476 GB, free: 154.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002811/5.167, allocations: 37.95 kB / 2.476 GB, free: 154.4 MB / 1.151 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.00547/5.172, allocations: 1.716 MB / 2.478 GB, free: 152.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/5.172, allocations: 8.031 kB / 2.478 GB, free: 152.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/5.174, allocations: 242.6 kB / 2.478 GB, free: 152.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004424/5.178, allocations: 1.7 MB / 2.48 GB, free: 150.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/5.178, allocations: 32 kB / 2.48 GB, free: 150.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/5.178, allocations: 63.31 kB / 2.48 GB, free: 150.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001642/5.18, allocations: 0.699 MB / 2.481 GB, free: 149.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/5.182, allocations: 0.8849 MB / 2.481 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/5.182, allocations: 3.938 kB / 2.481 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/5.182, allocations: 2.219 kB / 2.481 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/5.182, allocations: 41.98 kB / 2.482 GB, free: 148.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006484/5.189, allocations: 4.512 MB / 2.486 GB, free: 144.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/5.189, allocations: 0.4996 MB / 2.486 GB, free: 143.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/5.19, allocations: 254.5 kB / 2.487 GB, free: 143.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/5.19, allocations: 0.8334 MB / 2.487 GB, free: 142.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/5.19, allocations: 43.06 kB / 2.488 GB, free: 142.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 3.247e-06/5.19, allocations: 0 / 2.488 GB, free: 142.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.001497/5.192, allocations: 0.5991 MB / 2.488 GB, free: 141.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/5.192, allocations: 58.56 kB / 2.488 GB, free: 141.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/5.193, allocations: 0.887 MB / 2.489 GB, free: 140.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.53e-05/5.193, allocations: 25.7 kB / 2.489 GB, free: 140.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/5.194, allocations: 0.6285 MB / 2.49 GB, free: 140.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/5.194, allocations: 208.9 kB / 2.49 GB, free: 140 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/5.194, allocations: 2.969 kB / 2.49 GB, free: 140 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/5.194, allocations: 330 kB / 2.49 GB, free: 139.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/5.194, allocations: 193.5 kB / 2.49 GB, free: 139.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/5.195, allocations: 408.3 kB / 2.491 GB, free: 139 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/5.195, allocations: 280.4 kB / 2.491 GB, free: 138.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/5.195, allocations: 3.953 kB / 2.491 GB, free: 138.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00394/5.199, allocations: 1.143 MB / 2.492 GB, free: 137.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003622/5.2, allocations: 1.32 MB / 2.493 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/5.2, allocations: 4 kB / 2.493 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/5.2, allocations: 137.4 kB / 2.494 GB, free: 136.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/5.201, allocations: 158.4 kB / 2.494 GB, free: 135.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006123/5.201, allocations: 0.6951 MB / 2.494 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/5.203, allocations: 122.8 kB / 2.495 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/5.203, allocations: 42.23 kB / 2.495 GB, free: 135.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/5.203, allocations: 5.562 kB / 2.495 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003535/5.206, allocations: 0.994 MB / 2.496 GB, free: 134.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/5.206, allocations: 7.938 kB / 2.496 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/5.207, allocations: 125 kB / 2.496 GB, free: 133.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/5.207, allocations: 155.8 kB / 2.496 GB, free: 133.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004946/5.208, allocations: 0.7085 MB / 2.497 GB, free: 133 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/5.209, allocations: 111.4 kB / 2.497 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.978e-05/5.209, allocations: 35.98 kB / 2.497 GB, free: 132.9 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.QEva_flow:VARIABLE(unit = "W" ) "Actual cooling heat flow rate removed from fluid 2" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002509/5.209, allocations: 126.5 kB / 2.497 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/5.21, allocations: 118.5 kB / 2.497 GB, free: 132.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/5.211, allocations: 0.7186 MB / 2.498 GB, free: 131.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/5.211, allocations: 8 kB / 2.498 GB, free: 131.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/5.211, allocations: 3.984 kB / 2.498 GB, free: 131.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009043/5.212, allocations: 0.6275 MB / 2.498 GB, free: 131.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/5.218, allocations: 2.341 MB / 2.5 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/5.218, allocations: 7.938 kB / 2.501 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/5.218, allocations: 124.2 kB / 2.501 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/5.219, allocations: 124.8 kB / 2.501 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/5.219, allocations: 15.92 kB / 2.501 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004662/5.219, allocations: 0.689 MB / 2.501 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/5.219, allocations: 8 kB / 2.501 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004251/5.223, allocations: 1.706 MB / 2.503 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/5.224, allocations: 315.4 kB / 2.503 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/5.225, allocations: 7.375 kB / 2.503 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/5.226, allocations: 67.84 kB / 2.503 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/5.226, allocations: 56.31 kB / 2.504 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/5.226, allocations: 35.92 kB / 2.504 GB, free: 125.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001144/5.227, allocations: 0.6774 MB / 2.504 GB, free: 124.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/5.227, allocations: 0 / 2.504 GB, free: 124.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002748/5.23, allocations: 0.7676 MB / 2.505 GB, free: 124.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/5.231, allocations: 0.7453 MB / 2.506 GB, free: 123.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001683/5.233, allocations: 0.8922 MB / 2.507 GB, free: 122.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/5.233, allocations: 5.75 kB / 2.507 GB, free: 122.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005197/5.233, allocations: 310.3 kB / 2.507 GB, free: 122.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/5.236, allocations: 0.5573 MB / 2.507 GB, free: 121.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/5.24, allocations: 1.708 MB / 2.509 GB, free: 119.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/5.241, allocations: 1.201 MB / 2.51 GB, free: 118.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001699/5.242, allocations: 333.1 kB / 2.511 GB, free: 118.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/5.243, allocations: 71.42 kB / 2.511 GB, free: 118.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.172e-06/5.243, allocations: 0 / 2.511 GB, free: 118.3 MB / 1.151 GB Notification: Performance of Templates: time 0.04138/5.284, allocations: 27.44 MB / 2.537 GB, free: 91.43 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches