Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007504/0.007504, allocations: 102.9 kB / 15.73 MB, free: 6.449 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.001228/0.001228, allocations: 198.1 kB / 16.67 MB, free: 6.355 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.877/2.877, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 59.91 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3861, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.8538/1.24, allocations: 75.16 MB / 1.281 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01834/1.258, allocations: 12.78 MB / 1.294 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003251/1.262, allocations: 65.44 kB / 1.294 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002459/1.264, allocations: 0.8255 MB / 1.294 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008753/1.273, allocations: 2.464 MB / 1.297 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004295/1.277, allocations: 1.4 MB / 1.298 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008948/1.286, allocations: 4.389 MB / 1.303 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/1.289, allocations: 1.438 MB / 1.304 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0065/1.296, allocations: 1.655 MB / 1.306 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004265/1.3, allocations: 1.188 MB / 1.307 GB, free: 9.836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006572/1.301, allocations: 166.9 kB / 1.307 GB, free: 9.832 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006779/1.308, allocations: 1.407 MB / 1.308 GB, free: 9.312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008788/1.308, allocations: 400.8 kB / 1.309 GB, free: 9.059 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002094/1.311, allocations: 0.8992 MB / 1.31 GB, free: 8.496 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007034/1.318, allocations: 2.862 MB / 1.312 GB, free: 7.402 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.318, allocations: 0 / 1.312 GB, free: 7.402 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.318, allocations: 1.594 kB / 1.312 GB, free: 7.402 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.494e-05/1.318, allocations: 0 / 1.312 GB, free: 7.402 MB / 1.014 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.005411/1.323, allocations: 2.077 MB / 1.314 GB, free: 6.035 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.323, allocations: 9.812 kB / 1.314 GB, free: 6.035 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/1.324, allocations: 226.8 kB / 1.315 GB, free: 5.949 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/1.328, allocations: 1.526 MB / 1.316 GB, free: 5.031 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/1.328, allocations: 76.12 kB / 1.316 GB, free: 5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/1.328, allocations: 104 kB / 1.316 GB, free: 4.965 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/1.33, allocations: 1.096 MB / 1.317 GB, free: 4.477 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/1.33, allocations: 8.453 kB / 1.317 GB, free: 4.469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.33, allocations: 37.38 kB / 1.317 GB, free: 4.441 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/1.33, allocations: 26.22 kB / 1.317 GB, free: 4.441 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/1.332, allocations: 0.8873 MB / 1.318 GB, free: 4.137 MB / 1.014 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.007935/1.34, allocations: 4.895 MB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/1.342, allocations: 0.6213 MB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/1.343, allocations: 351.7 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007602/1.344, allocations: 0.8327 MB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.344, allocations: 40.28 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=61): time 3.186e-06/1.344, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=61): time 0.009348/1.353, allocations: 1.685 MB / 1.326 GB, free: 14.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/1.353, allocations: 58.47 kB / 1.327 GB, free: 14.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/1.355, allocations: 1.216 MB / 1.328 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/1.355, allocations: 47.55 kB / 1.328 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/1.356, allocations: 0.6042 MB / 1.328 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/1.356, allocations: 218.1 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/1.357, allocations: 154.1 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.357, allocations: 333 kB / 1.329 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/1.358, allocations: 291.5 kB / 1.329 GB, free: 13.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000936/1.358, allocations: 492.5 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/1.36, allocations: 0.7048 MB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.36, allocations: 1.094 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005271/1.365, allocations: 1.28 MB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.365, allocations: 8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.365, allocations: 4.125 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006501/1.366, allocations: 136.6 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/1.367, allocations: 159.5 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009236/1.368, allocations: 0.6896 MB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.369, allocations: 124.8 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.719e-05/1.369, allocations: 35.41 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00134/1.371, allocations: 0.5545 MB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008738/1.371, allocations: 492 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00155/1.373, allocations: 0.7056 MB / 1.335 GB, free: 10.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/1.373, allocations: 1.438 kB / 1.335 GB, free: 10.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005324/1.378, allocations: 1.271 MB / 1.336 GB, free: 9.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.378, allocations: 7.125 kB / 1.336 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.378, allocations: 3.094 kB / 1.336 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/1.379, allocations: 137.7 kB / 1.336 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/1.38, allocations: 154 kB / 1.336 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008899/1.381, allocations: 0.7019 MB / 1.337 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/1.382, allocations: 103.8 kB / 1.337 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/1.382, allocations: 29.42 kB / 1.337 GB, free: 9.219 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.0003673/1.382, allocations: 225.7 kB / 1.337 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/1.383, allocations: 130.3 kB / 1.337 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/1.388, allocations: 1.273 MB / 1.338 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/1.388, allocations: 6.375 kB / 1.338 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.388, allocations: 0 / 1.338 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004515/1.392, allocations: 1.101 MB / 1.34 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.403, allocations: 2.617 MB / 1.342 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.403, allocations: 3.469 kB / 1.342 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007955/1.404, allocations: 118.7 kB / 1.342 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007621/1.404, allocations: 124.9 kB / 1.342 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/1.404, allocations: 20.02 kB / 1.342 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008026/1.412, allocations: 2.586 MB / 1.345 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.413, allocations: 7.938 kB / 1.345 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00875/1.421, allocations: 1.691 MB / 1.347 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.423, allocations: 311 kB / 1.347 GB, free: 2.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/1.423, allocations: 14.88 kB / 1.347 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.424, allocations: 54.25 kB / 1.347 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/1.424, allocations: 65.61 kB / 1.347 GB, free: 2.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.425, allocations: 32.8 kB / 1.347 GB, free: 2.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001715/1.426, allocations: 0.8811 MB / 1.348 GB, free: 1.918 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.485e-06/1.426, allocations: 0 / 1.348 GB, free: 1.918 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003523/1.43, allocations: 0.7208 MB / 1.349 GB, free: 1.766 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.001571/1.431, allocations: 457.5 kB / 1.349 GB, free: 1.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00409/1.435, allocations: 1.125 MB / 1.35 GB, free: 1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.435, allocations: 3.938 kB / 1.35 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/1.438, allocations: 0.5571 MB / 1.351 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005735/1.443, allocations: 0.8016 MB / 1.351 GB, free: 252 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/1.449, allocations: 2.251 MB / 1.354 GB, free: 14.81 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.451, allocations: 1.181 MB / 1.355 GB, free: 13.88 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002038/1.453, allocations: 305.1 kB / 1.355 GB, free: 13.73 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/1.453, allocations: 105.1 kB / 1.355 GB, free: 13.72 MB / 1.045 GB Notification: Performance of SimCode: time 1.272e-06/1.453, allocations: 0 / 1.355 GB, free: 13.72 MB / 1.045 GB Notification: Performance of Templates: time 0.07145/1.525, allocations: 32.9 MB / 1.387 GB, free: 2.395 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches