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.008971/0.008971, allocations: 102 kB / 15.73 MB, free: 6.035 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.001869/0.001869, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.89 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9563/0.9576, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.1051/1.063, allocations: 75.18 MB / 1.281 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02917/1.092, allocations: 12.75 MB / 1.294 GB, free: 5.387 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00452/1.096, allocations: 71.62 kB / 1.294 GB, free: 5.316 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003616/1.1, allocations: 0.8463 MB / 1.294 GB, free: 4.465 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/1.11, allocations: 2.592 MB / 1.297 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004598/1.115, allocations: 1.405 MB / 1.298 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006846/1.122, allocations: 4.393 MB / 1.303 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/1.124, allocations: 1.439 MB / 1.304 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/1.129, allocations: 1.662 MB / 1.306 GB, free: 8.926 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003139/1.132, allocations: 1.19 MB / 1.307 GB, free: 7.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007613/1.133, allocations: 164 kB / 1.307 GB, free: 7.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/1.137, allocations: 1.412 MB / 1.308 GB, free: 6.156 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007132/1.138, allocations: 394.6 kB / 1.309 GB, free: 5.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002333/1.14, allocations: 0.9099 MB / 1.31 GB, free: 4.855 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006046/1.146, allocations: 2.855 MB / 1.312 GB, free: 1.996 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.146, allocations: 4 kB / 1.312 GB, free: 1.992 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/1.146, allocations: 0 / 1.312 GB, free: 1.992 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.971e-05/1.146, allocations: 0 / 1.312 GB, free: 1.992 MB / 1.029 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.005648/1.152, allocations: 2.073 MB / 1.314 GB, free: 15.85 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.152, allocations: 8.031 kB / 1.314 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/1.153, allocations: 234.8 kB / 1.315 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/1.156, allocations: 1.521 MB / 1.316 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/1.156, allocations: 74 kB / 1.316 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/1.156, allocations: 100 kB / 1.316 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/1.158, allocations: 1.104 MB / 1.317 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/1.158, allocations: 11.98 kB / 1.317 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/1.158, allocations: 40 kB / 1.317 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/1.158, allocations: 31.94 kB / 1.318 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/1.16, allocations: 0.886 MB / 1.318 GB, free: 11.76 MB / 1.045 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.00596/1.166, allocations: 4.895 MB / 1.323 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.167, allocations: 0.6314 MB / 1.324 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/1.168, allocations: 347.6 kB / 1.324 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/1.169, allocations: 0.8238 MB / 1.325 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.169, allocations: 47.11 kB / 1.325 GB, free: 4.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 2.594e-06/1.169, allocations: 0 / 1.325 GB, free: 4.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.006826/1.176, allocations: 1.685 MB / 1.327 GB, free: 2.828 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/1.176, allocations: 55.97 kB / 1.327 GB, free: 2.762 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.178, allocations: 1.222 MB / 1.328 GB, free: 1.523 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/1.178, allocations: 37.7 kB / 1.328 GB, free: 1.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/1.178, allocations: 0.5987 MB / 1.328 GB, free: 0.875 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.179, allocations: 224.8 kB / 1.329 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/1.179, allocations: 150.6 kB / 1.329 GB, free: 0.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.179, allocations: 338 kB / 1.329 GB, free: 168 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/1.18, allocations: 288.8 kB / 1.329 GB, free: 15.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/1.181, allocations: 495.8 kB / 1.33 GB, free: 15.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/1.182, allocations: 0.7128 MB / 1.331 GB, free: 14.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.182, allocations: 4 kB / 1.331 GB, free: 14.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00445/1.187, allocations: 1.269 MB / 1.332 GB, free: 13.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/1.187, allocations: 8.375 kB / 1.332 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.187, allocations: 8 kB / 1.332 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/1.187, allocations: 132.7 kB / 1.332 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/1.188, allocations: 163.7 kB / 1.332 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009105/1.189, allocations: 0.6967 MB / 1.333 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.19, allocations: 115.1 kB / 1.333 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/1.19, allocations: 35.98 kB / 1.333 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001073/1.191, allocations: 0.5527 MB / 1.334 GB, free: 11.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008066/1.192, allocations: 487.9 kB / 1.334 GB, free: 10.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001355/1.193, allocations: 0.709 MB / 1.335 GB, free: 10.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.919e-06/1.193, allocations: 4 kB / 1.335 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004318/1.198, allocations: 1.254 MB / 1.336 GB, free: 8.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.198, allocations: 14.12 kB / 1.336 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.198, allocations: 8.359 kB / 1.336 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/1.198, allocations: 136.7 kB / 1.336 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/1.199, allocations: 155.8 kB / 1.336 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008235/1.199, allocations: 0.6928 MB / 1.337 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009435/1.2, allocations: 99.36 kB / 1.337 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/1.201, allocations: 39.92 kB / 1.337 GB, free: 7.785 MB / 1.061 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.0002672/1.201, allocations: 225 kB / 1.337 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/1.201, allocations: 146.3 kB / 1.337 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/1.205, allocations: 1.26 MB / 1.339 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.206, allocations: 8 kB / 1.339 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.206, allocations: 0 / 1.339 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003811/1.209, allocations: 1.103 MB / 1.34 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/1.216, allocations: 2.614 MB / 1.342 GB, free: 2.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/1.216, allocations: 0 / 1.342 GB, free: 2.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/1.216, allocations: 115.8 kB / 1.342 GB, free: 2.156 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/1.217, allocations: 125.1 kB / 1.342 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/1.217, allocations: 23.92 kB / 1.342 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/1.221, allocations: 2.59 MB / 1.345 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.221, allocations: 7.938 kB / 1.345 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004928/1.226, allocations: 1.688 MB / 1.347 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/1.227, allocations: 311.2 kB / 1.347 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/1.227, allocations: 16 kB / 1.347 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/1.228, allocations: 52 kB / 1.347 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.228, allocations: 64.23 kB / 1.347 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/1.228, allocations: 31.98 kB / 1.347 GB, free: 13.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001254/1.229, allocations: 0.8816 MB / 1.348 GB, free: 12.13 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/1.229, allocations: 0 / 1.348 GB, free: 12.13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001953/1.231, allocations: 0.7135 MB / 1.349 GB, free: 11.41 MB / 1.076 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.0009559/1.232, allocations: 470.2 kB / 1.349 GB, free: 10.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002682/1.235, allocations: 1.121 MB / 1.35 GB, free: 9.836 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.235, allocations: 4.188 kB / 1.35 GB, free: 9.832 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/1.236, allocations: 0.5602 MB / 1.351 GB, free: 9.262 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.24, allocations: 0.7961 MB / 1.352 GB, free: 8.477 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/1.244, allocations: 2.263 MB / 1.354 GB, free: 6.137 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/1.244, allocations: 1.168 MB / 1.355 GB, free: 4.941 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001221/1.246, allocations: 303 kB / 1.355 GB, free: 4.641 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/1.246, allocations: 111.4 kB / 1.355 GB, free: 4.531 MB / 1.076 GB Notification: Performance of SimCode: time 1.533e-06/1.246, allocations: 0 / 1.355 GB, free: 4.531 MB / 1.076 GB Notification: Performance of Templates: time 0.06026/1.306, allocations: 32.29 MB / 1.387 GB, free: 4.602 MB / 1.107 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