Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00122/0.00122, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001873/0.001872, allocations: 168.7 kB / 15.95 MB, free: 204 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.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.414 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.754/2.754, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003807, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8665/0.8669, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06601/0.9329, allocations: 69.41 MB / 1.09 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.9509, allocations: 11.96 MB / 1.102 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.9538, allocations: 55.62 kB / 1.102 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.9562, allocations: 0.5705 MB / 1.102 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009115/0.9653, allocations: 1.892 MB / 1.104 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.9691, allocations: 0.9734 MB / 1.105 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007006/0.9761, allocations: 4.793 MB / 1.11 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.9782, allocations: 1.011 MB / 1.111 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.9813, allocations: 1.271 MB / 1.112 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.9835, allocations: 1.062 MB / 1.113 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.9837, allocations: 56 kB / 1.113 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.9865, allocations: 0.9199 MB / 1.114 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.9869, allocations: 266.7 kB / 1.114 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006796/0.9876, allocations: 364.8 kB / 1.115 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002951/0.9905, allocations: 2.077 MB / 1.117 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.9905, allocations: 0 / 1.117 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9905, allocations: 0 / 1.117 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.335e-05/0.9906, allocations: 0 / 1.117 GB, free: 15.09 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.003593/0.9942, allocations: 1.803 MB / 1.119 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.9942, allocations: 11.98 kB / 1.119 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00073/0.995, allocations: 241.9 kB / 1.119 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.9974, allocations: 1.431 MB / 1.12 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.9975, allocations: 85.98 kB / 1.12 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.9976, allocations: 104 kB / 1.12 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.9995, allocations: 1.116 MB / 1.121 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.9996, allocations: 0 / 1.121 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.9997, allocations: 40 kB / 1.122 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.9997, allocations: 35.94 kB / 1.122 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.002, allocations: 0.9096 MB / 1.122 GB, free: 9.172 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.005735/1.007, allocations: 4.904 MB / 1.127 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/1.009, allocations: 0.6404 MB / 1.128 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006809/1.009, allocations: 370.3 kB / 1.128 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/1.01, allocations: 0.8277 MB / 1.129 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/1.01, allocations: 39.12 kB / 1.129 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 2.184e-06/1.01, allocations: 0 / 1.129 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.006554/1.017, allocations: 1.877 MB / 1.131 GB, free: 4 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/1.017, allocations: 63.91 kB / 1.131 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/1.018, allocations: 1.198 MB / 1.132 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.018, allocations: 41.7 kB / 1.132 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/1.019, allocations: 0.6064 MB / 1.133 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/1.019, allocations: 212.9 kB / 1.133 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/1.019, allocations: 12 kB / 1.133 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.019, allocations: 338 kB / 1.133 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006431/1.02, allocations: 293.8 kB / 1.134 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/1.021, allocations: 0.5037 MB / 1.134 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/1.022, allocations: 355 kB / 1.134 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.022, allocations: 0 / 1.134 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004478/1.026, allocations: 1.39 MB / 1.136 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/1.026, allocations: 206.2 kB / 1.136 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.026, allocations: 0 / 1.136 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/1.027, allocations: 152.7 kB / 1.136 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/1.028, allocations: 163.8 kB / 1.136 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009092/1.029, allocations: 0.7045 MB / 1.137 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.03, allocations: 163.1 kB / 1.137 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/1.03, allocations: 35.98 kB / 1.137 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.03, allocations: 7.953 kB / 1.137 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004176/1.035, allocations: 1.245 MB / 1.138 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.035, allocations: 11.95 kB / 1.138 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/1.035, allocations: 145.1 kB / 1.138 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/1.036, allocations: 159.8 kB / 1.139 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008827/1.037, allocations: 0.7162 MB / 1.139 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.038, allocations: 161 kB / 1.139 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/1.038, allocations: 31.98 kB / 1.14 GB, free: 6.887 MB / 0.8887 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 (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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008817/1.039, allocations: 420.9 kB / 1.14 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/1.04, allocations: 130.4 kB / 1.14 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/1.044, allocations: 1.4 MB / 1.141 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/1.044, allocations: 8 kB / 1.141 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.044, allocations: 0 / 1.141 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003723/1.048, allocations: 1.228 MB / 1.143 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006923/1.055, allocations: 2.735 MB / 1.145 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.055, allocations: 4 kB / 1.145 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/1.055, allocations: 124.2 kB / 1.145 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/1.056, allocations: 136.7 kB / 1.146 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/1.056, allocations: 23.98 kB / 1.146 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/1.06, allocations: 2.431 MB / 1.148 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.06, allocations: 4 kB / 1.148 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/1.065, allocations: 1.848 MB / 1.15 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009036/1.066, allocations: 339 kB / 1.15 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.066, allocations: 16 kB / 1.15 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/1.067, allocations: 99.81 kB / 1.15 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.067, allocations: 64.25 kB / 1.15 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/1.067, allocations: 27.98 kB / 1.15 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001339/1.069, allocations: 0.8582 MB / 1.151 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.069, allocations: 4 kB / 1.151 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002052/1.071, allocations: 0.7096 MB / 1.152 GB, free: 9.887 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 (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008539/1.071, allocations: 431.4 kB / 1.152 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002548/1.074, allocations: 1.156 MB / 1.153 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.074, allocations: 192 / 1.153 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/1.075, allocations: 0.6032 MB / 1.154 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/1.079, allocations: 0.7511 MB / 1.155 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/1.083, allocations: 2.752 MB / 1.157 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/1.084, allocations: 1.18 MB / 1.159 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001378/1.085, allocations: 303 kB / 1.159 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/1.086, allocations: 107.3 kB / 1.159 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of SimCode: time 1.273e-06/1.086, allocations: 4 kB / 1.159 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of Templates: time 0.05269/1.138, allocations: 29.3 MB / 1.188 GB, free: 5.566 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches