Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001268/0.001268, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001595/0.001595, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.352 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.411/2.411, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.000491, allocations: 8 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.882, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06699/0.949, allocations: 62.99 MB / 1.015 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.9673, allocations: 10.99 MB / 1.026 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003096/0.9705, allocations: 55.56 kB / 1.026 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.9733, allocations: 0.7423 MB / 1.027 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00732/0.9806, allocations: 2.302 MB / 1.029 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.9853, allocations: 1.529 MB / 1.03 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005768/0.991, allocations: 2.506 MB / 1.033 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.9936, allocations: 1.039 MB / 1.034 GB, free: 13.81 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.9968, allocations: 1.148 MB / 1.035 GB, free: 12.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.9985, allocations: 0.7661 MB / 1.036 GB, free: 11.89 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.9987, allocations: 56 kB / 1.036 GB, free: 11.84 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/1.001, allocations: 0.8542 MB / 1.036 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/1.002, allocations: 266.9 kB / 1.037 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005644/1.002, allocations: 360.9 kB / 1.037 GB, free: 10.36 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/1.005, allocations: 2.015 MB / 1.039 GB, free: 8.34 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/1.005, allocations: 0 / 1.039 GB, free: 8.34 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.284e-06/1.005, allocations: 0 / 1.039 GB, free: 8.34 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.924e-05/1.005, allocations: 0 / 1.039 GB, free: 8.34 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003501/1.008, allocations: 1.791 MB / 1.041 GB, free: 6.484 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.008, allocations: 12.03 kB / 1.041 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008134/1.009, allocations: 237.9 kB / 1.041 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/1.012, allocations: 1.377 MB / 1.042 GB, free: 4.805 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/1.012, allocations: 78 kB / 1.042 GB, free: 4.73 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/1.012, allocations: 104 kB / 1.043 GB, free: 4.629 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/1.014, allocations: 1.108 MB / 1.044 GB, free: 3.484 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/1.014, allocations: 0 / 1.044 GB, free: 3.484 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/1.014, allocations: 47.94 kB / 1.044 GB, free: 3.438 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/1.014, allocations: 31.92 kB / 1.044 GB, free: 3.406 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/1.016, allocations: 0.9251 MB / 1.045 GB, free: 2.484 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.007351/1.024, allocations: 4.95 MB / 1.049 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/1.025, allocations: 0.6561 MB / 1.05 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007181/1.026, allocations: 0.8277 MB / 1.051 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/1.026, allocations: 43.12 kB / 1.051 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=62): time 3.106e-06/1.026, allocations: 0 / 1.051 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=62): time 0.007691/1.034, allocations: 1.893 MB / 1.053 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/1.034, allocations: 59.97 kB / 1.053 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/1.036, allocations: 1.249 MB / 1.054 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002672/1.037, allocations: 37.7 kB / 1.054 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/1.037, allocations: 0.6027 MB / 1.055 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/1.038, allocations: 220.8 kB / 1.055 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/1.038, allocations: 16 kB / 1.055 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.038, allocations: 337.9 kB / 1.055 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008144/1.039, allocations: 293.8 kB / 1.056 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/1.04, allocations: 499 kB / 1.056 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/1.04, allocations: 362.9 kB / 1.056 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.04, allocations: 0 / 1.056 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004821/1.045, allocations: 1.402 MB / 1.058 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005321/1.046, allocations: 1.335 MB / 1.059 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.046, allocations: 7.953 kB / 1.059 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007721/1.047, allocations: 164.7 kB / 1.059 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/1.047, allocations: 167.8 kB / 1.059 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009058/1.048, allocations: 0.7318 MB / 1.06 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/1.05, allocations: 167 kB / 1.06 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/1.05, allocations: 31.98 kB / 1.06 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.05, allocations: 5.562 kB / 1.06 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004347/1.054, allocations: 1.257 MB / 1.061 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.054, allocations: 12.05 kB / 1.061 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/1.055, allocations: 156.7 kB / 1.062 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/1.055, allocations: 167.8 kB / 1.062 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008355/1.056, allocations: 0.7318 MB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.058, allocations: 156.8 kB / 1.063 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.11e-05/1.058, allocations: 35.98 kB / 1.063 GB, free: 15.18 MB / 0.8262 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 (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.0007374/1.059, allocations: 420.9 kB / 1.063 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/1.059, allocations: 134.4 kB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/1.064, allocations: 1.423 MB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/1.064, allocations: 4 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.064, allocations: 4 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004169/1.068, allocations: 1.24 MB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/1.075, allocations: 2.766 MB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.075, allocations: 4 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/1.075, allocations: 119.9 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006206/1.076, allocations: 168.8 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/1.076, allocations: 19.98 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007864/1.077, allocations: 0.7162 MB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.077, allocations: 7.938 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005432/1.082, allocations: 2.058 MB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.083, allocations: 347 kB / 1.072 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/1.083, allocations: 16 kB / 1.072 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/1.084, allocations: 107.8 kB / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.084, allocations: 48.33 kB / 1.072 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/1.084, allocations: 39.97 kB / 1.072 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001379/1.086, allocations: 0.9011 MB / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 6.01e-07/1.086, allocations: 0 / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001996/1.088, allocations: 0.7096 MB / 1.074 GB, free: 3.504 MB / 0.8262 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 (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.0008347/1.089, allocations: 450.9 kB / 1.074 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002561/1.091, allocations: 1.172 MB / 1.075 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.091, allocations: 0 / 1.075 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009127/1.092, allocations: 407.3 kB / 1.076 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003611/1.096, allocations: 0.7567 MB / 1.076 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/1.101, allocations: 2.754 MB / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008937/1.102, allocations: 1.207 MB / 1.08 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001552/1.103, allocations: 299 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/1.103, allocations: 103.4 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of SimCode: time 1.523e-06/1.103, allocations: 0 / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.05202/1.155, allocations: 29.88 MB / 1.11 GB, free: 14.8 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches