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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001576/0.001576, allocations: 108.2 kB / 16.41 MB, free: 6.5 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.001864/0.001864, allocations: 192.3 kB / 17.35 MB, free: 5.762 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.88 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9237, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.0796/1.003, allocations: 75.19 MB / 1.282 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02034/1.024, allocations: 12.75 MB / 1.294 GB, free: 5.488 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/1.027, allocations: 67.56 kB / 1.294 GB, free: 5.422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002651/1.029, allocations: 0.8345 MB / 1.295 GB, free: 4.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008094/1.037, allocations: 2.467 MB / 1.297 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/1.042, allocations: 1.393 MB / 1.299 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006577/1.048, allocations: 4.391 MB / 1.303 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/1.051, allocations: 1.441 MB / 1.304 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004071/1.055, allocations: 1.612 MB / 1.306 GB, free: 9.234 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/1.057, allocations: 1.19 MB / 1.307 GB, free: 8.039 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005476/1.058, allocations: 164 kB / 1.307 GB, free: 7.879 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003807/1.062, allocations: 1.408 MB / 1.309 GB, free: 6.469 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006663/1.062, allocations: 398.6 kB / 1.309 GB, free: 6.078 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001945/1.064, allocations: 0.8982 MB / 1.31 GB, free: 5.176 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006484/1.071, allocations: 2.853 MB / 1.313 GB, free: 2.316 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/1.071, allocations: 7.984 kB / 1.313 GB, free: 2.309 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.156e-06/1.071, allocations: 4 kB / 1.313 GB, free: 2.305 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.637e-05/1.071, allocations: 3.938 kB / 1.313 GB, free: 2.301 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.005247/1.076, allocations: 2.071 MB / 1.315 GB, free: 168 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.076, allocations: 12.03 kB / 1.315 GB, free: 156 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.077, allocations: 223 kB / 1.315 GB, free: 15.93 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/1.081, allocations: 1.524 MB / 1.316 GB, free: 14.35 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/1.081, allocations: 81.94 kB / 1.317 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/1.081, allocations: 100 kB / 1.317 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/1.083, allocations: 1.104 MB / 1.318 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/1.083, allocations: 0 / 1.318 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/1.083, allocations: 36 kB / 1.318 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/1.083, allocations: 35.98 kB / 1.318 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/1.085, allocations: 0.8822 MB / 1.319 GB, free: 12.08 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.006719/1.092, allocations: 4.903 MB / 1.323 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.093, allocations: 0.6275 MB / 1.324 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007102/1.094, allocations: 355.5 kB / 1.324 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000732/1.095, allocations: 0.8238 MB / 1.325 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/1.095, allocations: 43.12 kB / 1.325 GB, free: 4.852 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/1.095, allocations: 0 / 1.325 GB, free: 4.852 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.007246/1.102, allocations: 1.674 MB / 1.327 GB, free: 3.152 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/1.102, allocations: 59.97 kB / 1.327 GB, free: 3.082 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/1.104, allocations: 1.222 MB / 1.328 GB, free: 1.844 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/1.105, allocations: 37.7 kB / 1.328 GB, free: 1.801 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/1.105, allocations: 0.6142 MB / 1.329 GB, free: 1.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/1.105, allocations: 212.8 kB / 1.329 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.106, allocations: 154.6 kB / 1.329 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.106, allocations: 333.9 kB / 1.329 GB, free: 492 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/1.107, allocations: 292.7 kB / 1.33 GB, free: 196 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009505/1.108, allocations: 491.9 kB / 1.33 GB, free: 15.63 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/1.109, allocations: 0.7127 MB / 1.331 GB, free: 14.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.109, allocations: 4 kB / 1.331 GB, free: 14.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004824/1.114, allocations: 1.273 MB / 1.332 GB, free: 13.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.114, allocations: 4 kB / 1.332 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.114, allocations: 4 kB / 1.332 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/1.115, allocations: 141 kB / 1.332 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/1.115, allocations: 155.8 kB / 1.332 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/1.116, allocations: 0.6967 MB / 1.333 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.118, allocations: 119 kB / 1.333 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/1.118, allocations: 31.94 kB / 1.333 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001211/1.119, allocations: 0.5605 MB / 1.334 GB, free: 11.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008305/1.12, allocations: 483.8 kB / 1.334 GB, free: 11.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001519/1.121, allocations: 0.7168 MB / 1.335 GB, free: 10.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-06/1.121, allocations: 0 / 1.335 GB, free: 10.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004647/1.126, allocations: 1.257 MB / 1.336 GB, free: 9.258 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.126, allocations: 8 kB / 1.336 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.126, allocations: 4 kB / 1.336 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005226/1.127, allocations: 137 kB / 1.336 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/1.127, allocations: 159.8 kB / 1.336 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008519/1.128, allocations: 0.6967 MB / 1.337 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/1.129, allocations: 99.36 kB / 1.337 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/1.129, allocations: 31.98 kB / 1.337 GB, free: 8.102 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.000309/1.13, allocations: 232 kB / 1.338 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/1.13, allocations: 134.5 kB / 1.338 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/1.135, allocations: 1.256 MB / 1.339 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004008/1.139, allocations: 1.107 MB / 1.34 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.139, allocations: 0 / 1.34 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007562/1.14, allocations: 307.2 kB / 1.34 GB, free: 5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/1.14, allocations: 8 kB / 1.34 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000912/1.141, allocations: 55.92 kB / 1.34 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.141, allocations: 52.48 kB / 1.34 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002711/1.144, allocations: 0.9638 MB / 1.341 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002532/1.146, allocations: 1.338 MB / 1.343 GB, free: 2.559 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006871/1.147, allocations: 324.3 kB / 1.343 GB, free: 2.242 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00156/1.149, allocations: 0.8615 MB / 1.344 GB, free: 1.379 MB / 1.061 GB Notification: Performance of Backend: time 7.72e-07/1.149, allocations: 7.938 kB / 1.344 GB, free: 1.371 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005591/1.154, allocations: 1.366 MB / 1.345 GB, free: 12 kB / 1.061 GB Notification: Performance of SimCode: time 0.007974/1.162, allocations: 3.109 MB / 1.348 GB, free: 12.86 MB / 1.076 GB Notification: Performance of Templates: time 0.06/1.222, allocations: 33.28 MB / 1.381 GB, free: 11.9 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