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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.01073/0.01073, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.002857/0.002857, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 64.09 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.208, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.09428/1.302, allocations: 75.18 MB / 1.24 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02335/1.326, allocations: 12.76 MB / 1.252 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003979/1.33, allocations: 63.62 kB / 1.253 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003/1.333, allocations: 0.854 MB / 1.253 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009456/1.342, allocations: 2.587 MB / 1.256 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004885/1.347, allocations: 1.405 MB / 1.257 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007741/1.355, allocations: 4.4 MB / 1.262 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/1.358, allocations: 1.437 MB / 1.263 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/1.363, allocations: 1.655 MB / 1.265 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/1.366, allocations: 1.196 MB / 1.266 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003135/1.366, allocations: 164 kB / 1.266 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/1.37, allocations: 1.412 MB / 1.267 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004674/1.37, allocations: 394.6 kB / 1.268 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/1.371, allocations: 0.9022 MB / 1.269 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004623/1.376, allocations: 2.862 MB / 1.271 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.376, allocations: 0 / 1.271 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/1.376, allocations: 0 / 1.271 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.901e-05/1.376, allocations: 0 / 1.271 GB, free: 8.246 MB / 0.9981 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.004323/1.38, allocations: 2.135 MB / 1.273 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.989e-05/1.38, allocations: 16.88 kB / 1.273 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008875/1.381, allocations: 243.7 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/1.384, allocations: 1.526 MB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/1.384, allocations: 82 kB / 1.275 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.384, allocations: 100 kB / 1.275 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/1.387, allocations: 1.104 MB / 1.276 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/1.387, allocations: 0 / 1.276 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/1.387, allocations: 36 kB / 1.276 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/1.387, allocations: 32 kB / 1.276 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/1.389, allocations: 0.886 MB / 1.277 GB, free: 1.938 MB / 0.9981 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.00678/1.395, allocations: 4.92 MB / 1.282 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/1.397, allocations: 0.621 MB / 1.283 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/1.398, allocations: 354.3 kB / 1.283 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/1.398, allocations: 0.8277 MB / 1.284 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/1.398, allocations: 43.12 kB / 1.284 GB, free: 10.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 2.364e-06/1.398, allocations: 0 / 1.284 GB, free: 10.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.007292/1.406, allocations: 1.686 MB / 1.286 GB, free: 8.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/1.406, allocations: 59.97 kB / 1.286 GB, free: 8.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.408, allocations: 1.225 MB / 1.287 GB, free: 7.668 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.408, allocations: 41.7 kB / 1.287 GB, free: 7.621 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/1.409, allocations: 0.6151 MB / 1.287 GB, free: 7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/1.409, allocations: 218.1 kB / 1.288 GB, free: 6.785 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/1.409, allocations: 158.6 kB / 1.288 GB, free: 6.625 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.409, allocations: 330 kB / 1.288 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/1.41, allocations: 296.6 kB / 1.288 GB, free: 6.004 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008846/1.411, allocations: 499.8 kB / 1.289 GB, free: 5.441 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.412, allocations: 0.709 MB / 1.29 GB, free: 4.684 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.412, allocations: 0 / 1.29 GB, free: 4.684 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004764/1.417, allocations: 1.285 MB / 1.291 GB, free: 3.387 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.417, allocations: 10.28 kB / 1.291 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.417, allocations: 8 kB / 1.291 GB, free: 3.371 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/1.418, allocations: 133 kB / 1.291 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/1.418, allocations: 159.7 kB / 1.291 GB, free: 3.082 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009151/1.419, allocations: 0.7006 MB / 1.292 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.42, allocations: 127.3 kB / 1.292 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/1.42, allocations: 31.98 kB / 1.292 GB, free: 2.199 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001156/1.422, allocations: 0.5526 MB / 1.293 GB, free: 1.641 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008239/1.422, allocations: 491.8 kB / 1.293 GB, free: 1.086 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001365/1.424, allocations: 0.7051 MB / 1.294 GB, free: 340 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/1.424, allocations: 0 / 1.294 GB, free: 340 kB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004448/1.428, allocations: 1.27 MB / 1.295 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.428, allocations: 12.03 kB / 1.295 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.428, allocations: 4 kB / 1.295 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004722/1.429, allocations: 132.7 kB / 1.295 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/1.429, allocations: 159.8 kB / 1.295 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008098/1.43, allocations: 0.7006 MB / 1.296 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.431, allocations: 99.66 kB / 1.296 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/1.431, allocations: 32 kB / 1.296 GB, free: 13.89 MB / 1.029 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.0002855/1.432, allocations: 222.3 kB / 1.296 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/1.432, allocations: 143 kB / 1.296 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004555/1.436, allocations: 1.26 MB / 1.298 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/1.436, allocations: 16 kB / 1.298 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.436, allocations: 3.984 kB / 1.298 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003953/1.44, allocations: 1.099 MB / 1.299 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006616/1.447, allocations: 2.614 MB / 1.301 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.447, allocations: 4 kB / 1.301 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000463/1.448, allocations: 115.8 kB / 1.301 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005543/1.448, allocations: 133.2 kB / 1.301 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/1.448, allocations: 19.94 kB / 1.302 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005057/1.453, allocations: 2.595 MB / 1.304 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.453, allocations: 7.938 kB / 1.304 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/1.459, allocations: 1.7 MB / 1.306 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.46, allocations: 312 kB / 1.306 GB, free: 3.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/1.46, allocations: 16 kB / 1.306 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/1.461, allocations: 55.86 kB / 1.306 GB, free: 3.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.461, allocations: 64.38 kB / 1.306 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/1.461, allocations: 27.98 kB / 1.306 GB, free: 3.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001438/1.463, allocations: 0.8816 MB / 1.307 GB, free: 2.207 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.463, allocations: 0 / 1.307 GB, free: 2.207 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002235/1.465, allocations: 0.7251 MB / 1.308 GB, free: 1.48 MB / 1.029 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.00112/1.466, allocations: 468.6 kB / 1.308 GB, free: 1.023 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002808/1.469, allocations: 1.11 MB / 1.309 GB, free: 15.92 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.469, allocations: 4 kB / 1.309 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/1.47, allocations: 0.5642 MB / 1.31 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/1.474, allocations: 0.7964 MB / 1.311 GB, free: 14.56 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/1.479, allocations: 2.303 MB / 1.313 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.48, allocations: 1.176 MB / 1.314 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001277/1.481, allocations: 314.9 kB / 1.314 GB, free: 10.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/1.482, allocations: 103.4 kB / 1.314 GB, free: 10.55 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/1.482, allocations: 0 / 1.314 GB, free: 10.55 MB / 1.045 GB Notification: Performance of Templates: time 0.05964/1.541, allocations: 32.31 MB / 1.346 GB, free: 10.59 MB / 1.076 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