Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 79.7 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002796/0.002796, allocations: 167.7 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.65/1.65, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.018/3.018, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.548e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.09274/0.09277, allocations: 68.19 MB / 1.018 GB, free: 7.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04293/0.1357, allocations: 19.99 MB / 1.037 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00704/0.1427, allocations: 134.9 kB / 1.037 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009083/0.1518, allocations: 2.21 MB / 1.039 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.1641, allocations: 3.466 MB / 1.043 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007903/0.172, allocations: 2.394 MB / 1.045 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.018/0.19, allocations: 9.204 MB / 1.054 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004687/0.1947, allocations: 1.615 MB / 1.056 GB, free: 52 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.2058, allocations: 3.011 MB / 1.059 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005767/0.2115, allocations: 1.394 MB / 1.06 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.213, allocations: 204 kB / 1.06 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005908/0.2189, allocations: 1.434 MB / 1.062 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.2206, allocations: 0.8174 MB / 1.062 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003799/0.2244, allocations: 0.8922 MB / 1.063 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.2359, allocations: 4.245 MB / 1.067 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2359, allocations: 0 / 1.067 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2359, allocations: 3.938 kB / 1.067 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001802/0.2361, allocations: 0 / 1.067 GB, free: 4.027 MB / 0.9669 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.01096/0.2471, allocations: 3.143 MB / 1.07 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.2471, allocations: 8.031 kB / 1.07 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007598/0.2547, allocations: 1.157 MB / 1.072 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007975/0.2627, allocations: 3.097 MB / 1.075 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.263, allocations: 177.9 kB / 1.075 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004081/0.2634, allocations: 132 kB / 1.075 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005748/0.2691, allocations: 2.04 MB / 1.077 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.2692, allocations: 0 / 1.077 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.2694, allocations: 52 kB / 1.077 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.2694, allocations: 32 kB / 1.077 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006747/0.2762, allocations: 2.062 MB / 1.079 GB, free: 7.879 MB / 0.9825 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.01628/0.2924, allocations: 6.344 MB / 1.085 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005813/0.2983, allocations: 1.58 MB / 1.087 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/0.3006, allocations: 0.7093 MB / 1.087 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006727/0.3073, allocations: 2.344 MB / 1.09 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.3074, allocations: 47 kB / 1.09 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001218/0.3086, allocations: 95.42 kB / 1.09 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=57): time 6.382e-06/0.3086, allocations: 0 / 1.09 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57): time 0.01488/0.3235, allocations: 2.978 MB / 1.093 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.3236, allocations: 63.84 kB / 1.093 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007106/0.3307, allocations: 2.31 MB / 1.095 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.331, allocations: 45.7 kB / 1.095 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/0.3328, allocations: 1.182 MB / 1.096 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004225/0.3332, allocations: 214.2 kB / 1.096 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005502/0.3337, allocations: 226.4 kB / 1.097 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3339, allocations: 345.9 kB / 1.097 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/0.3363, allocations: 0.7202 MB / 1.098 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/0.3395, allocations: 1.38 MB / 1.099 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005053/0.3446, allocations: 1.656 MB / 1.101 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.3446, allocations: 3.938 kB / 1.101 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.7223/1.067, allocations: 2.258 MB / 1.103 GB, free: 154 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/1.067, allocations: 10.41 kB / 1.103 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/1.067, allocations: 10.59 kB / 1.103 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/1.069, allocations: 0.5038 MB / 1.103 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.07, allocations: 318.2 kB / 1.104 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/1.073, allocations: 1.123 MB / 1.105 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/1.076, allocations: 196.8 kB / 1.105 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/1.076, allocations: 66.55 kB / 1.105 GB, free: 153.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (112): * Single equations (assignments): 110 * Array equations: 1 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001644/1.078, allocations: 0.5426 MB / 1.106 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/1.078, allocations: 232.5 kB / 1.106 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008491/1.087, allocations: 2.118 MB / 1.108 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-05/1.087, allocations: 11.92 kB / 1.108 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/1.087, allocations: 0 / 1.108 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.087, allocations: 3.375 kB / 1.108 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/1.1, allocations: 3.633 MB / 1.111 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.101, allocations: 3.281 kB / 1.111 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.102, allocations: 204.8 kB / 1.112 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/1.103, allocations: 499.5 kB / 1.112 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.103, allocations: 27.64 kB / 1.112 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/1.106, allocations: 1.11 MB / 1.113 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.106, allocations: 4.328 kB / 1.113 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008075/1.114, allocations: 2.166 MB / 1.115 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.115, allocations: 391.6 kB / 1.116 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/1.116, allocations: 20.19 kB / 1.116 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/1.117, allocations: 160.5 kB / 1.116 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/1.118, allocations: 52.09 kB / 1.116 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.118, allocations: 51.52 kB / 1.116 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003493/1.121, allocations: 1.587 MB / 1.118 GB, free: 149 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.121, allocations: 0 / 1.118 GB, free: 149 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003005/1.124, allocations: 0.6663 MB / 1.118 GB, free: 149 MB / 0.9981 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.001678/1.126, allocations: 0.5124 MB / 1.119 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006143/1.132, allocations: 1.692 MB / 1.12 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.132, allocations: 0 / 1.12 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003117/1.135, allocations: 0.8273 MB / 1.121 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00523/1.14, allocations: 1.044 MB / 1.122 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008754/1.149, allocations: 4.148 MB / 1.126 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/1.151, allocations: 1.057 MB / 1.127 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002604/1.154, allocations: 467 kB / 1.128 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/1.154, allocations: 184.8 kB / 1.128 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/1.154, allocations: 1.375 kB / 1.128 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.08029/1.235, allocations: 46.31 MB / 1.173 GB, free: 116.4 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.75047206506133]