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.007315/0.007315, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001511/0.001511, allocations: 195 kB / 16.67 MB, free: 5.977 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.826/2.826, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4036, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.08185/0.4855, allocations: 74.75 MB / 1.24 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9847/1.47, allocations: 21.47 MB / 1.261 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004861/1.475, allocations: 97.47 kB / 1.261 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007867/1.483, allocations: 2.184 MB / 1.263 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01355/1.497, allocations: 3.329 MB / 1.266 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007526/1.504, allocations: 2.253 MB / 1.268 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01889/1.523, allocations: 8.099 MB / 1.276 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005285/1.528, allocations: 2.009 MB / 1.278 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007618/1.536, allocations: 2.212 MB / 1.28 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/1.54, allocations: 1.59 MB / 1.282 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006884/1.541, allocations: 214.9 kB / 1.282 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006884/1.548, allocations: 2.012 MB / 1.284 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001286/1.549, allocations: 0.7879 MB / 1.285 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00301/1.552, allocations: 1.413 MB / 1.286 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/1.565, allocations: 4.467 MB / 1.291 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.565, allocations: 1.891 kB / 1.291 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.346e-06/1.565, allocations: 0 / 1.291 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001734/1.565, allocations: 4 kB / 1.291 GB, free: 10.15 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.01099/1.576, allocations: 3.318 MB / 1.294 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.577, allocations: 13.69 kB / 1.294 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007156/1.584, allocations: 1.158 MB / 1.295 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007498/1.591, allocations: 3.013 MB / 1.298 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/1.591, allocations: 153 kB / 1.298 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/1.592, allocations: 134.5 kB / 1.298 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004939/1.597, allocations: 1.932 MB / 1.3 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/1.597, allocations: 1.281 kB / 1.3 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/1.597, allocations: 51.28 kB / 1.3 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/1.597, allocations: 30.94 kB / 1.3 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/1.603, allocations: 2.057 MB / 1.302 GB, free: 4.738 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.01587/1.619, allocations: 8.514 MB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005249/1.624, allocations: 1.62 MB / 1.312 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/1.626, allocations: 0.7332 MB / 1.313 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008561/1.635, allocations: 3.862 MB / 1.316 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/1.635, allocations: 49.44 kB / 1.317 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001436/1.636, allocations: 113.1 kB / 1.317 GB, free: 11.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 4.649e-06/1.636, allocations: 0 / 1.317 GB, free: 11.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.01379/1.65, allocations: 3.081 MB / 1.32 GB, free: 10.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.65, allocations: 57.47 kB / 1.32 GB, free: 10.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005751/1.656, allocations: 2.663 MB / 1.322 GB, free: 9.555 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003472/1.656, allocations: 42.48 kB / 1.322 GB, free: 9.512 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.658, allocations: 1.11 MB / 1.323 GB, free: 8.543 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/1.658, allocations: 220.8 kB / 1.324 GB, free: 8.359 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006844/1.659, allocations: 339.6 kB / 1.324 GB, free: 8.164 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.659, allocations: 305.1 kB / 1.324 GB, free: 7.863 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/1.661, allocations: 0.9114 MB / 1.325 GB, free: 7.438 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/1.664, allocations: 1.351 MB / 1.326 GB, free: 6.465 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004971/1.669, allocations: 2.003 MB / 1.328 GB, free: 5.234 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/1.669, allocations: 4.125 kB / 1.328 GB, free: 5.234 MB / 1.014 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008096/1.677, allocations: 2.744 MB / 1.331 GB, free: 3.918 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/1.678, allocations: 15.44 kB / 1.331 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/1.678, allocations: 15.16 kB / 1.331 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/1.679, allocations: 0.5095 MB / 1.332 GB, free: 3.684 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.68, allocations: 369.2 kB / 1.332 GB, free: 3.578 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/1.683, allocations: 1.12 MB / 1.333 GB, free: 2.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/1.686, allocations: 219.3 kB / 1.333 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/1.686, allocations: 73.83 kB / 1.333 GB, free: 2.652 MB / 1.014 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.001509/1.688, allocations: 0.5554 MB / 1.334 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000669/1.688, allocations: 252 kB / 1.334 GB, free: 2.121 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006327/1.695, allocations: 2.107 MB / 1.336 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.695, allocations: 10.8 kB / 1.336 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.695, allocations: 0 / 1.336 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.695, allocations: 10.42 kB / 1.336 GB, free: 1.027 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/1.706, allocations: 4.094 MB / 1.34 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.706, allocations: 2.812 kB / 1.34 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.707, allocations: 201.8 kB / 1.34 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/1.708, allocations: 0.4958 MB / 1.341 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-05/1.708, allocations: 30.17 kB / 1.341 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/1.711, allocations: 1.108 MB / 1.342 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.711, allocations: 2.719 kB / 1.342 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007729/1.719, allocations: 2.194 MB / 1.344 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.721, allocations: 0.5038 MB / 1.345 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/1.721, allocations: 13.47 kB / 1.345 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.723, allocations: 161.9 kB / 1.345 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.723, allocations: 53.56 kB / 1.345 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.723, allocations: 41.08 kB / 1.345 GB, free: 11.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003266/1.726, allocations: 1.83 MB / 1.347 GB, free: 10.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.726, allocations: 0 / 1.347 GB, free: 10.58 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003149/1.73, allocations: 0.7497 MB / 1.347 GB, free: 10.41 MB / 1.029 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.001636/1.731, allocations: 0.7134 MB / 1.348 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005956/1.737, allocations: 1.994 MB / 1.35 GB, free: 7.977 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.737, allocations: 0.5 kB / 1.35 GB, free: 7.977 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002728/1.74, allocations: 0.8468 MB / 1.351 GB, free: 7.129 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005687/1.746, allocations: 1.165 MB / 1.352 GB, free: 5.988 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008634/1.754, allocations: 4.182 MB / 1.356 GB, free: 1.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/1.756, allocations: 1.633 MB / 1.358 GB, free: 76 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002435/1.758, allocations: 458.4 kB / 1.358 GB, free: 15.63 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/1.759, allocations: 191.3 kB / 1.358 GB, free: 15.44 MB / 1.045 GB Notification: Performance of SimCode: time 1.303e-06/1.759, allocations: 0 / 1.358 GB, free: 15.44 MB / 1.045 GB Notification: Performance of Templates: time 0.08768/1.847, allocations: 47.7 MB / 1.405 GB, free: 0.4922 MB / 1.076 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches