Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001029/0.001029, allocations: 99.86 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.00102/0.00102, allocations: 177.3 kB / 15.94 MB, free: 228 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.544/1.544, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.568/2.568, allocations: 390.2 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8305/0.8309, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05341/0.8844, allocations: 51.33 MB / 1.004 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01567/0.9001, allocations: 10.3 MB / 1.014 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.9022, allocations: 47.62 kB / 1.014 GB, free: 2.344 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.9044, allocations: 0.6296 MB / 1.014 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006259/0.9107, allocations: 1.946 MB / 1.016 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.9144, allocations: 1.321 MB / 1.018 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003752/0.9182, allocations: 1.845 MB / 1.019 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.9196, allocations: 0.8115 MB / 1.02 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.922, allocations: 0.9847 MB / 1.021 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.9231, allocations: 0.5988 MB / 1.022 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.9232, allocations: 44 kB / 1.022 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.9255, allocations: 0.9985 MB / 1.023 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.9258, allocations: 199.1 kB / 1.023 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.9261, allocations: 285 kB / 1.023 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.9282, allocations: 1.586 MB / 1.025 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9282, allocations: 8 kB / 1.025 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9282, allocations: 0 / 1.025 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.049e-05/0.9282, allocations: 0 / 1.025 GB, free: 7.07 MB / 0.7794 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.003117/0.9313, allocations: 1.489 MB / 1.026 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.9314, allocations: 8.031 kB / 1.026 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.9333, allocations: 386 kB / 1.027 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.9358, allocations: 1.043 MB / 1.028 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.9362, allocations: 137.8 kB / 1.028 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.9363, allocations: 76 kB / 1.028 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.9384, allocations: 0.9622 MB / 1.029 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.9384, allocations: 0 / 1.029 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.9385, allocations: 35.94 kB / 1.029 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.9385, allocations: 20 kB / 1.029 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.9407, allocations: 0.843 MB / 1.03 GB, free: 1.926 MB / 0.7794 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.006909/0.9476, allocations: 4.819 MB / 1.034 GB, free: 12.75 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.9493, allocations: 0.6072 MB / 1.035 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.9508, allocations: 1.388 MB / 1.036 GB, free: 10.45 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.9508, allocations: 42.56 kB / 1.036 GB, free: 10.4 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.9508, allocations: 0 / 1.036 GB, free: 10.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.007488/0.9583, allocations: 1.834 MB / 1.038 GB, free: 8.539 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.9584, allocations: 63.34 kB / 1.038 GB, free: 8.465 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.9603, allocations: 1.059 MB / 1.039 GB, free: 7.391 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.74e-05/0.9604, allocations: 37.7 kB / 1.039 GB, free: 7.348 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.9609, allocations: 0.5352 MB / 1.04 GB, free: 6.809 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.961, allocations: 145.8 kB / 1.04 GB, free: 6.664 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.961, allocations: 12 kB / 1.04 GB, free: 6.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9612, allocations: 330 kB / 1.04 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007845/0.962, allocations: 281 kB / 1.04 GB, free: 6.051 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000928/0.9629, allocations: 490.9 kB / 1.041 GB, free: 5.496 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/0.9637, allocations: 327.4 kB / 1.041 GB, free: 5.176 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.9638, allocations: 0 / 1.041 GB, free: 5.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002638/0.9664, allocations: 0.9614 MB / 1.042 GB, free: 4.203 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007118/0.9671, allocations: 1.593 MB / 1.044 GB, free: 2.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.9672, allocations: 4 kB / 1.044 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.9685, allocations: 332.6 kB / 1.044 GB, free: 2.164 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.969, allocations: 107.9 kB / 1.044 GB, free: 2.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.9706, allocations: 0.9464 MB / 1.045 GB, free: 1.086 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.9722, allocations: 183.2 kB / 1.045 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.9723, allocations: 31.98 kB / 1.045 GB, free: 0.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9723, allocations: 4 kB / 1.045 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00227/0.9746, allocations: 0.8316 MB / 1.046 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9746, allocations: 4.406 kB / 1.046 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.9757, allocations: 326 kB / 1.046 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.9762, allocations: 119.8 kB / 1.047 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.9777, allocations: 0.937 MB / 1.047 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.979, allocations: 167.2 kB / 1.048 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.9791, allocations: 31.98 kB / 1.048 GB, free: 14.43 MB / 0.8106 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006753/0.9797, allocations: 341 kB / 1.048 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.9799, allocations: 110.6 kB / 1.048 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.983, allocations: 1.073 MB / 1.049 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.983, allocations: 15.98 kB / 1.049 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.983, allocations: 0 / 1.049 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.983, allocations: 0 / 1.049 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005032/0.9881, allocations: 2.18 MB / 1.051 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.9881, allocations: 4 kB / 1.051 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.9883, allocations: 60.19 kB / 1.051 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.9894, allocations: 316.6 kB / 1.052 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.9895, allocations: 19.97 kB / 1.052 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.991, allocations: 0.9716 MB / 1.053 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.991, allocations: 4 kB / 1.053 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/0.9945, allocations: 1.298 MB / 1.054 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/0.9951, allocations: 279.5 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.9953, allocations: 15.95 kB / 1.054 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/0.9961, allocations: 99.81 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.9962, allocations: 43.81 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.9963, allocations: 27.94 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001194/0.9975, allocations: 0.7469 MB / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9975, allocations: 0 / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001602/0.9991, allocations: 0.577 MB / 1.056 GB, free: 6.031 MB / 0.8106 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007883/0.9999, allocations: 411.5 kB / 1.056 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002629/1.003, allocations: 1.055 MB / 1.057 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.003, allocations: 4 kB / 1.057 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/1.003, allocations: 326.6 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/1.005, allocations: 498.6 kB / 1.058 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/1.009, allocations: 2.213 MB / 1.06 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/1.009, allocations: 1.081 MB / 1.061 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008226/1.01, allocations: 223.7 kB / 1.061 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/1.01, allocations: 71.42 kB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of SimCode: time 9.02e-07/1.01, allocations: 0 / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of Templates: time 0.03806/1.048, allocations: 23.44 MB / 1.084 GB, free: 8.953 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches