Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.AbsorptionIndirectSteamVaryingLoad,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.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,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.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 105.7 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.001953/0.001954, allocations: 191.8 kB / 17.34 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.518/1.518, 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.766/2.766, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002852, allocations: 67.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9484/0.9513, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.0871/1.038, allocations: 74.78 MB / 1.24 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03713/1.076, allocations: 21.46 MB / 1.261 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005022/1.081, allocations: 103.4 kB / 1.261 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007698/1.088, allocations: 2.209 MB / 1.264 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/1.1, allocations: 3.322 MB / 1.267 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006888/1.107, allocations: 2.262 MB / 1.269 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01588/1.123, allocations: 8.108 MB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004892/1.127, allocations: 2.005 MB / 1.279 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007454/1.135, allocations: 2.216 MB / 1.281 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004044/1.139, allocations: 1.583 MB / 1.283 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/1.14, allocations: 216 kB / 1.283 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006131/1.146, allocations: 2.02 MB / 1.285 GB, free: 11.19 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001608/1.148, allocations: 0.7787 MB / 1.286 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00362/1.151, allocations: 1.415 MB / 1.287 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/1.163, allocations: 4.464 MB / 1.291 GB, free: 4.504 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.163, allocations: 3.938 kB / 1.291 GB, free: 4.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.645e-06/1.163, allocations: 0 / 1.291 GB, free: 4.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002003/1.163, allocations: 0 / 1.291 GB, free: 4.5 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.0101/1.173, allocations: 3.316 MB / 1.294 GB, free: 1.109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/1.173, allocations: 12.88 kB / 1.295 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00714/1.18, allocations: 1.157 MB / 1.296 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007719/1.188, allocations: 3.013 MB / 1.299 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/1.189, allocations: 163.9 kB / 1.299 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/1.189, allocations: 128 kB / 1.299 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006168/1.195, allocations: 1.928 MB / 1.301 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/1.195, allocations: 0 / 1.301 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/1.196, allocations: 56 kB / 1.301 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/1.196, allocations: 32 kB / 1.301 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006746/1.203, allocations: 2.055 MB / 1.303 GB, free: 8.414 MB / 1.029 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.02079/1.223, allocations: 8.52 MB / 1.311 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005787/1.229, allocations: 1.622 MB / 1.313 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/1.232, allocations: 0.7363 MB / 1.313 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007895/1.239, allocations: 3.855 MB / 1.317 GB, free: 8.887 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/1.24, allocations: 43.06 kB / 1.317 GB, free: 8.836 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001305/1.241, allocations: 123.1 kB / 1.317 GB, free: 8.715 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 7.955e-06/1.241, allocations: 3.984 kB / 1.317 GB, free: 8.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.01385/1.255, allocations: 3.067 MB / 1.32 GB, free: 5.613 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/1.255, allocations: 59.91 kB / 1.32 GB, free: 5.543 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006802/1.262, allocations: 2.665 MB / 1.323 GB, free: 2.863 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002801/1.262, allocations: 41.7 kB / 1.323 GB, free: 2.816 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001756/1.264, allocations: 1.116 MB / 1.324 GB, free: 1.691 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000463/1.264, allocations: 222.2 kB / 1.324 GB, free: 1.473 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/1.265, allocations: 342.6 kB / 1.325 GB, free: 1.129 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.265, allocations: 301.1 kB / 1.325 GB, free: 0.832 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/1.268, allocations: 0.9128 MB / 1.326 GB, free: 15.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003344/1.272, allocations: 1.347 MB / 1.327 GB, free: 14.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005278/1.277, allocations: 1.998 MB / 1.329 GB, free: 12.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/1.277, allocations: 4 kB / 1.329 GB, free: 12.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00855/1.285, allocations: 2.741 MB / 1.332 GB, free: 9.496 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/1.286, allocations: 8 kB / 1.332 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.286, allocations: 12 kB / 1.332 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/1.287, allocations: 0.5203 MB / 1.332 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/1.289, allocations: 371.5 kB / 1.333 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/1.291, allocations: 1.122 MB / 1.334 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/1.295, allocations: 220.3 kB / 1.334 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003262/1.295, allocations: 71.95 kB / 1.334 GB, free: 7.16 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001724/1.297, allocations: 0.5559 MB / 1.335 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.298, allocations: 250.3 kB / 1.335 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007439/1.305, allocations: 2.1 MB / 1.337 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/1.305, allocations: 11.94 kB / 1.337 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.305, allocations: 0 / 1.337 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/1.305, allocations: 11.92 kB / 1.337 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/1.317, allocations: 4.099 MB / 1.341 GB, free: 0 / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/1.317, allocations: 4.047 kB / 1.341 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.318, allocations: 200 kB / 1.341 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/1.32, allocations: 0.4964 MB / 1.342 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-05/1.32, allocations: 27.97 kB / 1.342 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/1.322, allocations: 1.103 MB / 1.343 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/1.322, allocations: 7.938 kB / 1.343 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007657/1.33, allocations: 2.186 MB / 1.345 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.332, allocations: 0.4991 MB / 1.345 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008387/1.333, allocations: 16 kB / 1.345 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.335, allocations: 167.8 kB / 1.346 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.335, allocations: 56.38 kB / 1.346 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.335, allocations: 39.95 kB / 1.346 GB, free: 11.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00425/1.34, allocations: 1.835 MB / 1.347 GB, free: 9.266 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.21e-07/1.34, allocations: 0 / 1.347 GB, free: 9.266 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003095/1.343, allocations: 0.7485 MB / 1.348 GB, free: 8.516 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (62): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00206/1.345, allocations: 0.7063 MB / 1.349 GB, free: 7.816 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006603/1.351, allocations: 1.993 MB / 1.351 GB, free: 5.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/1.351, allocations: 0 / 1.351 GB, free: 5.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003032/1.354, allocations: 0.8523 MB / 1.352 GB, free: 4.973 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006625/1.361, allocations: 1.159 MB / 1.353 GB, free: 3.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.372, allocations: 4.186 MB / 1.357 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/1.374, allocations: 1.637 MB / 1.358 GB, free: 13.91 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002723/1.377, allocations: 459.4 kB / 1.359 GB, free: 13.46 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009374/1.377, allocations: 187.3 kB / 1.359 GB, free: 13.28 MB / 1.092 GB Notification: Performance of SimCode: time 1.082e-06/1.378, allocations: 0 / 1.359 GB, free: 13.28 MB / 1.092 GB Notification: Performance of Templates: time 0.09467/1.472, allocations: 47.89 MB / 1.406 GB, free: 13.89 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches