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.001222/0.001222, allocations: 107.8 kB / 16.41 MB, free: 6.457 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.001233/0.001233, allocations: 187 kB / 17.34 MB, free: 5.715 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.09 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.49/2.49, allocations: 437 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.8452, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07891/0.9242, allocations: 74.76 MB / 1.24 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0315/0.9557, allocations: 21.47 MB / 1.261 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004793/0.9606, allocations: 103.4 kB / 1.261 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007014/0.9676, allocations: 2.195 MB / 1.264 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009812/0.9775, allocations: 3.326 MB / 1.267 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006794/0.9843, allocations: 2.256 MB / 1.269 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01379/0.9981, allocations: 8.093 MB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004774/1.003, allocations: 2.005 MB / 1.279 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006638/1.01, allocations: 2.205 MB / 1.281 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003455/1.013, allocations: 1.587 MB / 1.283 GB, free: 13.44 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001099/1.014, allocations: 216 kB / 1.283 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006113/1.02, allocations: 2.016 MB / 1.285 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001906/1.022, allocations: 0.7826 MB / 1.285 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003719/1.026, allocations: 1.415 MB / 1.287 GB, free: 9.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0102/1.036, allocations: 4.468 MB / 1.291 GB, free: 4.523 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.036, allocations: 0 / 1.291 GB, free: 4.523 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/1.036, allocations: 0 / 1.291 GB, free: 4.523 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001551/1.036, allocations: 0 / 1.291 GB, free: 4.523 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.009219/1.046, allocations: 3.316 MB / 1.294 GB, free: 1.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/1.046, allocations: 16.88 kB / 1.294 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00759/1.053, allocations: 1.161 MB / 1.296 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007088/1.061, allocations: 3.01 MB / 1.299 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/1.061, allocations: 159.9 kB / 1.299 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004878/1.061, allocations: 128 kB / 1.299 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005591/1.067, allocations: 1.928 MB / 1.301 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/1.067, allocations: 0 / 1.301 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/1.067, allocations: 55.98 kB / 1.301 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/1.067, allocations: 32 kB / 1.301 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006436/1.074, allocations: 2.055 MB / 1.303 GB, free: 8.438 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.01721/1.091, allocations: 8.52 MB / 1.311 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/1.096, allocations: 1.624 MB / 1.313 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/1.099, allocations: 0.7364 MB / 1.313 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006582/1.105, allocations: 3.851 MB / 1.317 GB, free: 8.914 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/1.106, allocations: 39.12 kB / 1.317 GB, free: 8.867 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009742/1.107, allocations: 127.1 kB / 1.317 GB, free: 8.742 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 4.909e-06/1.107, allocations: 0 / 1.317 GB, free: 8.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.01408/1.121, allocations: 3.079 MB / 1.32 GB, free: 5.633 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/1.121, allocations: 59.97 kB / 1.32 GB, free: 5.562 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005443/1.126, allocations: 2.657 MB / 1.323 GB, free: 2.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002587/1.126, allocations: 37.7 kB / 1.323 GB, free: 2.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.128, allocations: 1.12 MB / 1.324 GB, free: 1.719 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/1.128, allocations: 218.2 kB / 1.324 GB, free: 1.504 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007591/1.129, allocations: 342.6 kB / 1.325 GB, free: 1.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.129, allocations: 301.1 kB / 1.325 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/1.132, allocations: 0.9206 MB / 1.326 GB, free: 15.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/1.135, allocations: 1.344 MB / 1.327 GB, free: 14.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005154/1.14, allocations: 2.002 MB / 1.329 GB, free: 12.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/1.14, allocations: 4 kB / 1.329 GB, free: 12.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008829/1.149, allocations: 2.733 MB / 1.332 GB, free: 9.531 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/1.149, allocations: 14.12 kB / 1.332 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/1.149, allocations: 12.62 kB / 1.332 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/1.15, allocations: 0.5237 MB / 1.332 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/1.152, allocations: 359.5 kB / 1.333 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/1.155, allocations: 1.134 MB / 1.334 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/1.158, allocations: 212.4 kB / 1.334 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003428/1.158, allocations: 75.95 kB / 1.334 GB, free: 7.188 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.001519/1.16, allocations: 0.5597 MB / 1.335 GB, free: 6.617 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00089/1.16, allocations: 250.3 kB / 1.335 GB, free: 6.371 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00744/1.168, allocations: 2.106 MB / 1.337 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/1.168, allocations: 8 kB / 1.337 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.168, allocations: 0 / 1.337 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/1.168, allocations: 7.922 kB / 1.337 GB, free: 4.234 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.18, allocations: 4.095 MB / 1.341 GB, free: 32 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.18, allocations: 4 kB / 1.341 GB, free: 28 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.182, allocations: 204.1 kB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/1.183, allocations: 0.5003 MB / 1.342 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/1.183, allocations: 23.97 kB / 1.342 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/1.186, allocations: 1.107 MB / 1.343 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.186, allocations: 4 kB / 1.343 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/1.193, allocations: 2.186 MB / 1.345 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.195, allocations: 0.4991 MB / 1.345 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007917/1.196, allocations: 20 kB / 1.345 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/1.198, allocations: 163.8 kB / 1.345 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.199, allocations: 52.38 kB / 1.346 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.199, allocations: 47.95 kB / 1.346 GB, free: 11.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.004484/1.203, allocations: 1.835 MB / 1.347 GB, free: 9.289 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.41e-07/1.203, allocations: 0 / 1.347 GB, free: 9.289 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003485/1.207, allocations: 0.7446 MB / 1.348 GB, free: 8.543 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.002093/1.209, allocations: 0.7041 MB / 1.349 GB, free: 7.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00679/1.216, allocations: 1.995 MB / 1.351 GB, free: 5.848 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.537e-06/1.216, allocations: 0 / 1.351 GB, free: 5.848 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003223/1.219, allocations: 0.8547 MB / 1.352 GB, free: 4.992 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007054/1.226, allocations: 1.148 MB / 1.353 GB, free: 3.867 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/1.236, allocations: 4.289 MB / 1.357 GB, free: 15.5 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/1.238, allocations: 1.625 MB / 1.358 GB, free: 13.84 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.24, allocations: 203.3 kB / 1.359 GB, free: 13.64 MB / 1.092 GB Notification: Performance of SimCode: time 1.433e-06/1.24, allocations: 0 / 1.359 GB, free: 13.64 MB / 1.092 GB Notification: Performance of Templates: time 0.07562/1.315, allocations: 52.7 MB / 1.41 GB, free: 9.18 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 -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