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.001515/0.001515, allocations: 115.1 kB / 16.42 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.001628/0.001628, allocations: 187.9 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.434/1.434, 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 10.1.1-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07597/1.082, allocations: 75.2 MB / 1.241 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02257/1.104, allocations: 12.75 MB / 1.253 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/1.108, allocations: 71.56 kB / 1.253 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/1.11, allocations: 0.8502 MB / 1.254 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008792/1.119, allocations: 2.592 MB / 1.257 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004271/1.124, allocations: 1.396 MB / 1.258 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00697/1.131, allocations: 4.4 MB / 1.262 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/1.133, allocations: 1.441 MB / 1.264 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/1.137, allocations: 1.657 MB / 1.265 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/1.139, allocations: 1.198 MB / 1.266 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002825/1.14, allocations: 164 kB / 1.267 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/1.143, allocations: 1.4 MB / 1.268 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004981/1.144, allocations: 406.5 kB / 1.268 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/1.145, allocations: 0.8982 MB / 1.269 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005864/1.151, allocations: 2.853 MB / 1.272 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.151, allocations: 0 / 1.272 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/1.151, allocations: 0 / 1.272 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.702e-05/1.151, allocations: 4 kB / 1.272 GB, free: 8.219 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.004321/1.156, allocations: 2.083 MB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/1.156, allocations: 12.88 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009032/1.157, allocations: 226.8 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/1.159, allocations: 1.521 MB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/1.159, allocations: 81.98 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/1.16, allocations: 103.9 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/1.162, allocations: 1.096 MB / 1.277 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/1.162, allocations: 0 / 1.277 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.977e-05/1.162, allocations: 40 kB / 1.277 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/1.162, allocations: 27.98 kB / 1.277 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/1.164, allocations: 0.8899 MB / 1.278 GB, free: 1.988 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.006536/1.17, allocations: 4.903 MB / 1.283 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.172, allocations: 0.6198 MB / 1.283 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/1.172, allocations: 362.2 kB / 1.284 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000692/1.173, allocations: 0.8316 MB / 1.285 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.173, allocations: 39.12 kB / 1.285 GB, free: 10.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 3.026e-06/1.173, allocations: 0 / 1.285 GB, free: 10.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.007445/1.181, allocations: 1.681 MB / 1.286 GB, free: 9.043 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/1.181, allocations: 59.97 kB / 1.286 GB, free: 8.973 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/1.183, allocations: 1.214 MB / 1.287 GB, free: 7.742 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.183, allocations: 49.7 kB / 1.287 GB, free: 7.688 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/1.183, allocations: 0.6026 MB / 1.288 GB, free: 7.078 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/1.183, allocations: 216.8 kB / 1.288 GB, free: 6.863 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/1.184, allocations: 150.6 kB / 1.288 GB, free: 6.711 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.184, allocations: 337.9 kB / 1.289 GB, free: 6.375 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/1.185, allocations: 292.6 kB / 1.289 GB, free: 6.086 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008313/1.185, allocations: 491.8 kB / 1.289 GB, free: 5.531 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/1.187, allocations: 0.7129 MB / 1.29 GB, free: 4.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/1.187, allocations: 0 / 1.29 GB, free: 4.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004834/1.192, allocations: 1.273 MB / 1.291 GB, free: 3.484 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.192, allocations: 8 kB / 1.291 GB, free: 3.477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.192, allocations: 4 kB / 1.291 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/1.192, allocations: 141 kB / 1.292 GB, free: 3.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/1.193, allocations: 155.8 kB / 1.292 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008873/1.194, allocations: 0.6927 MB / 1.292 GB, free: 2.461 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.195, allocations: 123.1 kB / 1.293 GB, free: 2.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/1.195, allocations: 31.94 kB / 1.293 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00125/1.197, allocations: 0.5526 MB / 1.293 GB, free: 1.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008435/1.197, allocations: 491.8 kB / 1.294 GB, free: 1.195 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001446/1.199, allocations: 0.709 MB / 1.294 GB, free: 448 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.318e-06/1.199, allocations: 0 / 1.294 GB, free: 448 kB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004935/1.204, allocations: 1.266 MB / 1.295 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.204, allocations: 7.938 kB / 1.296 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.204, allocations: 4 kB / 1.296 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/1.204, allocations: 133 kB / 1.296 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/1.205, allocations: 159.7 kB / 1.296 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008746/1.206, allocations: 0.6967 MB / 1.296 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.207, allocations: 103.4 kB / 1.297 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/1.207, allocations: 31.98 kB / 1.297 GB, free: 14 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.0003204/1.208, allocations: 224.1 kB / 1.297 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/1.208, allocations: 130.4 kB / 1.297 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/1.213, allocations: 1.267 MB / 1.298 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00425/1.217, allocations: 1.107 MB / 1.299 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.217, allocations: 4 kB / 1.299 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.219, allocations: 303.2 kB / 1.3 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004703/1.219, allocations: 12 kB / 1.3 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.22, allocations: 43.94 kB / 1.3 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.22, allocations: 56.48 kB / 1.3 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003064/1.223, allocations: 0.9522 MB / 1.301 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002886/1.226, allocations: 1.338 MB / 1.302 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006925/1.227, allocations: 324.3 kB / 1.302 GB, free: 8.152 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001753/1.229, allocations: 0.8614 MB / 1.303 GB, free: 7.289 MB / 1.029 GB Notification: Performance of Backend: time 3.507e-06/1.229, allocations: 4.047 kB / 1.303 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005135/1.234, allocations: 1.378 MB / 1.304 GB, free: 5.91 MB / 1.029 GB Notification: Performance of SimCode: time 0.007177/1.241, allocations: 3.109 MB / 1.307 GB, free: 2.762 MB / 1.029 GB Notification: Performance of Templates: time 0.0603/1.302, allocations: 33.52 MB / 1.34 GB, free: 1.566 MB / 1.061 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/jenkins1/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