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.001335/0.001335, allocations: 102.3 kB / 16.4 MB, free: 6.406 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.001204/0.001205, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 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.471/2.471, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 75.88 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7603, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07186/0.8322, allocations: 75.19 MB / 1.241 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.85, allocations: 12.74 MB / 1.253 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.8528, allocations: 71.62 kB / 1.253 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.8552, allocations: 0.8501 MB / 1.254 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.8628, allocations: 2.591 MB / 1.257 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.8668, allocations: 1.399 MB / 1.258 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006149/0.873, allocations: 4.408 MB / 1.262 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.8753, allocations: 1.445 MB / 1.264 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.8794, allocations: 1.66 MB / 1.265 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/0.8817, allocations: 1.194 MB / 1.266 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002944/0.882, allocations: 164 kB / 1.267 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.8852, allocations: 1.404 MB / 1.268 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.8857, allocations: 398.5 kB / 1.268 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.8868, allocations: 0.906 MB / 1.269 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.891, allocations: 2.853 MB / 1.272 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.891, allocations: 0 / 1.272 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.891, allocations: 4 kB / 1.272 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.22e-05/0.891, allocations: 0 / 1.272 GB, free: 8.23 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.004022/0.8951, allocations: 2.075 MB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.8951, allocations: 12.88 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/0.896, allocations: 238.8 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.8987, allocations: 1.517 MB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.8988, allocations: 74 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.8989, allocations: 103.9 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.9009, allocations: 1.1 MB / 1.277 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.901, allocations: 8 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.9011, allocations: 39.98 kB / 1.277 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.9011, allocations: 28 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.903, allocations: 0.8822 MB / 1.278 GB, free: 2.004 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.00652/0.9095, allocations: 4.9 MB / 1.283 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.911, allocations: 0.6159 MB / 1.283 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.9117, allocations: 370.2 kB / 1.284 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007003/0.9124, allocations: 0.8238 MB / 1.285 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.9124, allocations: 43.12 kB / 1.285 GB, free: 10.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 2.815e-06/0.9124, allocations: 0 / 1.285 GB, free: 10.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.007278/0.9197, allocations: 1.685 MB / 1.286 GB, free: 9.059 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.9198, allocations: 55.97 kB / 1.286 GB, free: 8.992 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.9218, allocations: 1.222 MB / 1.287 GB, free: 7.754 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.9219, allocations: 37.7 kB / 1.287 GB, free: 7.711 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/0.9225, allocations: 0.5987 MB / 1.288 GB, free: 7.105 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.9228, allocations: 220.8 kB / 1.288 GB, free: 6.887 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.923, allocations: 150.6 kB / 1.288 GB, free: 6.734 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9232, allocations: 341.9 kB / 1.289 GB, free: 6.395 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/0.9239, allocations: 292.6 kB / 1.289 GB, free: 6.105 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008509/0.9248, allocations: 499.8 kB / 1.289 GB, free: 5.543 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.9261, allocations: 0.7129 MB / 1.29 GB, free: 4.781 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.9262, allocations: 4 kB / 1.29 GB, free: 4.777 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0047/0.9309, allocations: 1.269 MB / 1.291 GB, free: 3.496 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.9309, allocations: 8.375 kB / 1.291 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.9309, allocations: 8 kB / 1.291 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.9315, allocations: 136.7 kB / 1.292 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.9322, allocations: 155.8 kB / 1.292 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008529/0.9331, allocations: 0.6967 MB / 1.292 GB, free: 2.469 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.9342, allocations: 115.1 kB / 1.293 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.9343, allocations: 35.98 kB / 1.293 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001137/0.9355, allocations: 0.5565 MB / 1.293 GB, free: 1.758 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008619/0.9363, allocations: 487.8 kB / 1.294 GB, free: 1.207 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001377/0.9377, allocations: 0.709 MB / 1.294 GB, free: 460 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/0.9377, allocations: 4 kB / 1.294 GB, free: 456 kB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00464/0.9424, allocations: 1.258 MB / 1.295 GB, free: 15.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.9424, allocations: 8 kB / 1.295 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.9424, allocations: 0 / 1.295 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/0.9429, allocations: 141 kB / 1.296 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.9436, allocations: 155.8 kB / 1.296 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008193/0.9444, allocations: 0.7006 MB / 1.296 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.9455, allocations: 99.36 kB / 1.297 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.9456, allocations: 35.98 kB / 1.297 GB, free: 14.01 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.0002447/0.9458, allocations: 224.1 kB / 1.297 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.9461, allocations: 134.3 kB / 1.297 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.9507, allocations: 1.263 MB / 1.298 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.9508, allocations: 8 kB / 1.298 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.9508, allocations: 0 / 1.298 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00402/0.9548, allocations: 1.111 MB / 1.299 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006934/0.9618, allocations: 2.61 MB / 1.302 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.9618, allocations: 0 / 1.302 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/0.9624, allocations: 111.9 kB / 1.302 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/0.9629, allocations: 133 kB / 1.302 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.9629, allocations: 19.94 kB / 1.302 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00491/0.9679, allocations: 2.594 MB / 1.305 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.9679, allocations: 11.88 kB / 1.305 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/0.9733, allocations: 1.691 MB / 1.306 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/0.9741, allocations: 311.1 kB / 1.307 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.9744, allocations: 12 kB / 1.307 GB, free: 3.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009071/0.9754, allocations: 59.98 kB / 1.307 GB, free: 3.316 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.9755, allocations: 60.25 kB / 1.307 GB, free: 3.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/0.9756, allocations: 31.98 kB / 1.307 GB, free: 3.227 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001306/0.9769, allocations: 0.8816 MB / 1.308 GB, free: 2.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9769, allocations: 0 / 1.308 GB, free: 2.344 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001942/0.9788, allocations: 0.7174 MB / 1.308 GB, free: 1.625 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.0009055/0.9798, allocations: 460.6 kB / 1.309 GB, free: 1.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.9824, allocations: 1.114 MB / 1.31 GB, free: 64 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.9824, allocations: 4.188 kB / 1.31 GB, free: 60 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.9839, allocations: 0.5681 MB / 1.31 GB, free: 15.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/0.9873, allocations: 0.7959 MB / 1.311 GB, free: 14.7 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.9911, allocations: 2.286 MB / 1.313 GB, free: 12.33 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/0.9919, allocations: 1.168 MB / 1.315 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.9923, allocations: 123.3 kB / 1.315 GB, free: 11.01 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/0.9923, allocations: 4 kB / 1.315 GB, free: 11.01 MB / 1.045 GB Notification: Performance of Templates: time 0.04445/1.037, allocations: 31.23 MB / 1.345 GB, free: 11.97 MB / 1.076 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