Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.001633/0.001633, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001973/0.001973, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 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 0.9534/0.9534, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.15/2.15, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.607e-05, allocations: 3.25 kB / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.042/0.04203, allocations: 55.64 MB / 0.9325 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.05806, allocations: 12.72 MB / 0.9449 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.06058, allocations: 91.25 kB / 0.945 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.06275, allocations: 0.7564 MB / 0.9458 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.06814, allocations: 2.393 MB / 0.9481 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.07179, allocations: 1.78 MB / 0.9498 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.005627/0.07741, allocations: 4.098 MB / 0.9538 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.07908, allocations: 1.04 MB / 0.9549 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/0.08337, allocations: 2.242 MB / 0.957 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.08493, allocations: 0.9696 MB / 0.958 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.08514, allocations: 140 kB / 0.9581 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.08731, allocations: 0.8884 MB / 0.959 GB, free: 3.676 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.0877, allocations: 478.2 kB / 0.9595 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007424/0.08844, allocations: 0.5884 MB / 0.96 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.09169, allocations: 1.849 MB / 0.9618 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.0917, allocations: 7.938 kB / 0.9618 GB, free: 0.7539 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.533e-06/0.0917, allocations: 4 kB / 0.9618 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.09172, allocations: 0 / 0.9618 GB, free: 0.75 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002607/0.09432, allocations: 2.151 MB / 0.9639 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.09437, allocations: 12.03 kB / 0.964 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.09599, allocations: 0.5733 MB / 0.9645 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.09785, allocations: 1.383 MB / 0.9659 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.09798, allocations: 153.4 kB / 0.966 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.09813, allocations: 104 kB / 0.9661 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.09963, allocations: 1.058 MB / 0.9671 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.09965, allocations: 0 / 0.9671 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.09973, allocations: 36 kB / 0.9672 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.09976, allocations: 24 kB / 0.9672 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009039/0.1007, allocations: 455.5 kB / 0.9676 GB, free: 10.62 MB / 0.9323 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.004717/0.1054, allocations: 4.069 MB / 0.9716 GB, free: 6.438 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/0.1063, allocations: 475.4 kB / 0.9721 GB, free: 5.965 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.1066, allocations: 186.4 kB / 0.9722 GB, free: 5.777 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.1069, allocations: 100.4 kB / 0.9723 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000768/0.1076, allocations: 449.9 kB / 0.9728 GB, free: 5.191 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=60): time 4.067e-06/0.1076, allocations: 4 kB / 0.9728 GB, free: 5.188 MB / 0.9323 GB Notification: Performance of matching and sorting (n=60): time 0.00128/0.1089, allocations: 0.6562 MB / 0.9734 GB, free: 4.523 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.109, allocations: 59.84 kB / 0.9735 GB, free: 4.453 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.11, allocations: 1.164 MB / 0.9746 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.1101, allocations: 45.7 kB / 0.9746 GB, free: 3.207 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.1106, allocations: 0.7513 MB / 0.9754 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.1107, allocations: 218.1 kB / 0.9756 GB, free: 2.234 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.111, allocations: 208.2 kB / 0.9758 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1111, allocations: 0.5082 MB / 0.9763 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.1114, allocations: 157.9 kB / 0.9764 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.112, allocations: 0.8339 MB / 0.9772 GB, free: 284 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.1128, allocations: 0.7152 MB / 0.9779 GB, free: 15.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.1128, allocations: 7.938 kB / 0.978 GB, free: 15.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001215/0.114, allocations: 0.8049 MB / 0.9787 GB, free: 14.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.114, allocations: 12 kB / 0.9788 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.114, allocations: 11.94 kB / 0.9788 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1141, allocations: 12 kB / 0.9788 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.1147, allocations: 244.1 kB / 0.979 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.1147, allocations: 23.86 kB / 0.979 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.1153, allocations: 131.4 kB / 0.9792 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003329/0.1156, allocations: 51.97 kB / 0.9792 GB, free: 14.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003246/0.116, allocations: 224.2 kB / 0.9794 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.1162, allocations: 155.1 kB / 0.9796 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.1172, allocations: 0.6393 MB / 0.9802 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.1172, allocations: 12 kB / 0.9802 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1172, allocations: 7.922 kB / 0.9802 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006793/0.1179, allocations: 0.5078 MB / 0.9807 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.1202, allocations: 1.824 MB / 0.9825 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1202, allocations: 11.92 kB / 0.9825 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.1207, allocations: 164 kB / 0.9827 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.1207, allocations: 8 kB / 0.9827 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.1207, allocations: 23.97 kB / 0.9827 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1207, allocations: 4 kB / 0.9827 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1207, allocations: 7.938 kB / 0.9827 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.1221, allocations: 0.9792 MB / 0.9837 GB, free: 9.344 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.1225, allocations: 274.7 kB / 0.9839 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.1226, allocations: 12 kB / 0.9839 GB, free: 9.062 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/0.123, allocations: 75.91 kB / 0.984 GB, free: 8.988 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.1231, allocations: 48.41 kB / 0.984 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.1232, allocations: 43.89 kB / 0.9841 GB, free: 8.898 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006349/0.1238, allocations: 0.6948 MB / 0.9848 GB, free: 8.203 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1238, allocations: 0 / 0.9848 GB, free: 8.203 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009962/0.1248, allocations: 498.8 kB / 0.9852 GB, free: 7.715 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005828/0.1254, allocations: 445.9 kB / 0.9857 GB, free: 7.273 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.1265, allocations: 0.5299 MB / 0.9862 GB, free: 6.742 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1265, allocations: 0 / 0.9862 GB, free: 6.742 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.1269, allocations: 261.6 kB / 0.9864 GB, free: 6.488 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.1284, allocations: 0.6081 MB / 0.987 GB, free: 5.891 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.1313, allocations: 2.276 MB / 0.9893 GB, free: 3.531 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.1315, allocations: 288.2 kB / 0.9895 GB, free: 3.227 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006758/0.1322, allocations: 269 kB / 0.9898 GB, free: 2.965 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.1325, allocations: 124.4 kB / 0.9899 GB, free: 2.844 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/0.1325, allocations: 4 kB / 0.9899 GB, free: 2.84 MB / 0.948 GB Notification: Performance of Templates: time 0.03139/0.1639, allocations: 27.14 MB / 1.016 GB, free: 8.203 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.006480172043666]