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.001557/0.001558, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001764/0.001764, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.89 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9094/0.9109, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07314/0.9841, allocations: 75.18 MB / 1.282 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01904/1.003, allocations: 12.75 MB / 1.294 GB, free: 5.422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/1.006, allocations: 71.56 kB / 1.294 GB, free: 5.352 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002345/1.008, allocations: 0.8268 MB / 1.295 GB, free: 4.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006994/1.015, allocations: 2.464 MB / 1.298 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/1.019, allocations: 1.396 MB / 1.299 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006053/1.025, allocations: 4.392 MB / 1.303 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/1.027, allocations: 1.445 MB / 1.305 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/1.032, allocations: 1.647 MB / 1.306 GB, free: 9.133 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/1.034, allocations: 1.196 MB / 1.307 GB, free: 7.934 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002872/1.034, allocations: 168 kB / 1.308 GB, free: 7.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/1.037, allocations: 1.4 MB / 1.309 GB, free: 6.367 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004076/1.038, allocations: 398.5 kB / 1.309 GB, free: 5.977 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/1.039, allocations: 0.9021 MB / 1.31 GB, free: 5.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004473/1.043, allocations: 2.857 MB / 1.313 GB, free: 2.207 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.043, allocations: 0 / 1.313 GB, free: 2.207 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.324e-06/1.043, allocations: 4 kB / 1.313 GB, free: 2.203 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.334e-05/1.043, allocations: 0 / 1.313 GB, free: 2.203 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.003799/1.047, allocations: 2.079 MB / 1.315 GB, free: 60 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.047, allocations: 12.03 kB / 1.315 GB, free: 48 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008706/1.048, allocations: 235 kB / 1.315 GB, free: 15.81 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/1.051, allocations: 1.517 MB / 1.317 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/1.051, allocations: 78 kB / 1.317 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/1.051, allocations: 103.9 kB / 1.317 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/1.053, allocations: 1.1 MB / 1.318 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/1.053, allocations: 0 / 1.318 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.611e-05/1.053, allocations: 40 kB / 1.318 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/1.053, allocations: 35.98 kB / 1.318 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/1.055, allocations: 0.89 MB / 1.319 GB, free: 11.96 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.006092/1.061, allocations: 4.892 MB / 1.324 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/1.063, allocations: 0.6237 MB / 1.324 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000738/1.063, allocations: 359.5 kB / 1.325 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/1.064, allocations: 0.8277 MB / 1.325 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.064, allocations: 39.12 kB / 1.325 GB, free: 4.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/1.064, allocations: 0 / 1.325 GB, free: 4.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.007759/1.072, allocations: 1.678 MB / 1.327 GB, free: 3.043 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.072, allocations: 63.97 kB / 1.327 GB, free: 2.969 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/1.074, allocations: 1.214 MB / 1.328 GB, free: 1.738 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/1.074, allocations: 45.7 kB / 1.328 GB, free: 1.688 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/1.075, allocations: 0.5986 MB / 1.329 GB, free: 1.082 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/1.075, allocations: 224.8 kB / 1.329 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/1.075, allocations: 154.5 kB / 1.329 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.075, allocations: 330 kB / 1.33 GB, free: 384 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/1.076, allocations: 292.7 kB / 1.33 GB, free: 88 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008731/1.077, allocations: 497.4 kB / 1.33 GB, free: 15.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/1.078, allocations: 0.7088 MB / 1.331 GB, free: 14.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.078, allocations: 4 kB / 1.331 GB, free: 14.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00497/1.083, allocations: 1.273 MB / 1.332 GB, free: 13.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.083, allocations: 4 kB / 1.332 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.083, allocations: 4 kB / 1.332 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/1.084, allocations: 141 kB / 1.333 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/1.084, allocations: 159.8 kB / 1.333 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008723/1.085, allocations: 0.6967 MB / 1.333 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.087, allocations: 115 kB / 1.333 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/1.087, allocations: 36.08 kB / 1.333 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/1.088, allocations: 0.5565 MB / 1.334 GB, free: 11.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008244/1.089, allocations: 495.8 kB / 1.335 GB, free: 11.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001453/1.09, allocations: 0.7011 MB / 1.335 GB, free: 10.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/1.09, allocations: 0 / 1.335 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004928/1.095, allocations: 1.261 MB / 1.336 GB, free: 9.156 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.095, allocations: 9.719 kB / 1.336 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.095, allocations: 4 kB / 1.336 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/1.096, allocations: 141 kB / 1.337 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/1.096, allocations: 163.8 kB / 1.337 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008099/1.097, allocations: 0.6927 MB / 1.337 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/1.098, allocations: 103.4 kB / 1.338 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/1.098, allocations: 31.98 kB / 1.338 GB, free: 7.992 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.0002651/1.099, allocations: 228.1 kB / 1.338 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/1.099, allocations: 138.3 kB / 1.338 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005723/1.105, allocations: 1.256 MB / 1.339 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/1.105, allocations: 15.97 kB / 1.339 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.105, allocations: 0 / 1.339 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004549/1.109, allocations: 1.099 MB / 1.34 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007242/1.117, allocations: 2.622 MB / 1.343 GB, free: 2.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.117, allocations: 4 kB / 1.343 GB, free: 2.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/1.117, allocations: 111.9 kB / 1.343 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/1.118, allocations: 136.6 kB / 1.343 GB, free: 2.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/1.118, allocations: 19.94 kB / 1.343 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/1.124, allocations: 2.567 MB / 1.346 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.124, allocations: 11.88 kB / 1.346 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006201/1.13, allocations: 1.695 MB / 1.347 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.131, allocations: 307.1 kB / 1.347 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/1.131, allocations: 20 kB / 1.348 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008697/1.132, allocations: 59.98 kB / 1.348 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.132, allocations: 56.25 kB / 1.348 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/1.132, allocations: 35.97 kB / 1.348 GB, free: 13.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001492/1.134, allocations: 0.8816 MB / 1.349 GB, free: 12.33 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.134, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001927/1.136, allocations: 0.7135 MB / 1.349 GB, free: 11.61 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.0009218/1.137, allocations: 462.3 kB / 1.35 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002743/1.139, allocations: 1.125 MB / 1.351 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.139, allocations: 0 / 1.351 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/1.141, allocations: 0.561 MB / 1.351 GB, free: 9.465 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.145, allocations: 0.7956 MB / 1.352 GB, free: 8.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/1.149, allocations: 2.292 MB / 1.354 GB, free: 6.305 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/1.149, allocations: 1.164 MB / 1.355 GB, free: 5.113 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/1.15, allocations: 111.3 kB / 1.356 GB, free: 5.004 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/1.15, allocations: 4 kB / 1.356 GB, free: 5 MB / 1.076 GB Notification: Performance of Templates: time 0.04206/1.192, allocations: 31.23 MB / 1.386 GB, free: 5.945 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/jenkins1/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