Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.Carnot_y,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",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,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",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 97.72 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.00852/0.00852, allocations: 170.8 kB / 16.27 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.451/1.451, 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 9.1.3-maint.9.1.x/package.mo): time 2.525/2.525, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 12 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.839, allocations: 142.4 MB / 0.955 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07517/0.9143, allocations: 73.44 MB / 1.027 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.9342, allocations: 12.68 MB / 1.039 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/0.9374, allocations: 55.62 kB / 1.039 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.9402, allocations: 0.6798 MB / 1.04 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009247/0.9495, allocations: 2.263 MB / 1.042 GB, free: 6.066 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004668/0.9542, allocations: 1.273 MB / 1.043 GB, free: 4.805 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008021/0.9622, allocations: 5.547 MB / 1.049 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/0.9648, allocations: 1.145 MB / 1.05 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.9685, allocations: 1.314 MB / 1.051 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.9712, allocations: 1.128 MB / 1.052 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005102/0.9717, allocations: 56 kB / 1.052 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004197/0.9759, allocations: 1.239 MB / 1.053 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006991/0.9766, allocations: 294.6 kB / 1.054 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.979, allocations: 0.7944 MB / 1.055 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006998/0.986, allocations: 2.714 MB / 1.057 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.986, allocations: 7.938 kB / 1.057 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.785e-06/0.986, allocations: 0 / 1.057 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001128/0.9861, allocations: 0 / 1.057 GB, free: 6.492 MB / 0.8106 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.005225/0.9914, allocations: 1.776 MB / 1.059 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.9914, allocations: 8.031 kB / 1.059 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.9927, allocations: 242.9 kB / 1.059 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/0.9963, allocations: 1.496 MB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/0.9964, allocations: 78 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.9967, allocations: 100 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.9994, allocations: 1.128 MB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.9994, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.9995, allocations: 36 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.9996, allocations: 24 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/1.002, allocations: 0.929 MB / 1.063 GB, free: 0.5273 MB / 0.8106 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.01045/1.012, allocations: 4.911 MB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/1.015, allocations: 0.6417 MB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/1.015, allocations: 366.3 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008363/1.016, allocations: 0.8355 MB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/1.016, allocations: 39.12 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.696e-06/1.016, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.008245/1.025, allocations: 1.881 MB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/1.025, allocations: 63.91 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/1.027, allocations: 1.21 MB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/1.028, allocations: 45.7 kB / 1.073 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/1.028, allocations: 0.6026 MB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/1.029, allocations: 212.9 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.029, allocations: 69.62 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.029, allocations: 341.9 kB / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/1.03, allocations: 297.8 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.031, allocations: 0.4999 MB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/1.033, allocations: 0.7519 MB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.033, allocations: 4 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005422/1.038, allocations: 1.402 MB / 1.077 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001781/1.038, allocations: 194.2 kB / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.038, allocations: 4 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/1.039, allocations: 144.7 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/1.04, allocations: 175.8 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009817/1.041, allocations: 0.7161 MB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.042, allocations: 160.5 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/1.042, allocations: 32 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/1.042, allocations: 8 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004757/1.047, allocations: 1.249 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.047, allocations: 7.984 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/1.047, allocations: 149.1 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/1.048, allocations: 163.8 kB / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009641/1.049, allocations: 0.7161 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.05, allocations: 151.2 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/1.051, allocations: 28 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000863/1.051, allocations: 425.5 kB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/1.052, allocations: 134.3 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/1.057, allocations: 1.4 MB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/1.057, allocations: 11.94 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.057, allocations: 0 / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004495/1.061, allocations: 1.232 MB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007941/1.069, allocations: 2.739 MB / 1.086 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/1.069, allocations: 4 kB / 1.086 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/1.07, allocations: 124.2 kB / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/1.071, allocations: 140.7 kB / 1.087 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/1.071, allocations: 23.92 kB / 1.087 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005098/1.076, allocations: 2.439 MB / 1.089 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.076, allocations: 4 kB / 1.089 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00583/1.082, allocations: 1.848 MB / 1.091 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000941/1.083, allocations: 331.1 kB / 1.091 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003549/1.083, allocations: 20 kB / 1.091 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.084, allocations: 103.8 kB / 1.091 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/1.084, allocations: 60.23 kB / 1.091 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.871e-05/1.084, allocations: 27.98 kB / 1.091 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00167/1.086, allocations: 0.8699 MB / 1.092 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.086, allocations: 0 / 1.092 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002712/1.089, allocations: 0.7057 MB / 1.093 GB, free: 0.6523 MB / 0.8419 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/1.09, allocations: 452 kB / 1.093 GB, free: 212 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00294/1.093, allocations: 1.164 MB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.093, allocations: 4 kB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/1.094, allocations: 0.5995 MB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004808/1.099, allocations: 0.7994 MB / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/1.104, allocations: 2.809 MB / 1.098 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.106, allocations: 1.177 MB / 1.1 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001493/1.107, allocations: 295.1 kB / 1.1 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/1.108, allocations: 111.4 kB / 1.1 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of SimCode: time 1.313e-06/1.108, allocations: 3.938 kB / 1.1 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of Templates: time 0.05795/1.166, allocations: 31.82 MB / 1.131 GB, free: 9.691 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches