Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00134/0.00134, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001575/0.001575, allocations: 161 kB / 23.82 MB, free: 0.75 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.9714/0.9714, allocations: 177.2 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.741/1.741, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.436e-06/3.436e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/3.101e-05, allocations: 11.56 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.04471/0.04474, allocations: 22.38 MB / 0.8334 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.06335, allocations: 10.9 MB / 0.844 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.06535, allocations: 134.9 kB / 0.8442 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.06827, allocations: 1.738 MB / 0.8459 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.07136, allocations: 2.401 MB / 0.8482 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.07433, allocations: 2.282 MB / 0.8504 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00792/0.08225, allocations: 8.888 MB / 0.8591 GB, free: 0.9297 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.08468, allocations: 1.713 MB / 0.8608 GB, free: 15.17 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006548/0.09123, allocations: 3.115 MB / 0.8638 GB, free: 12.07 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/0.09396, allocations: 1.379 MB / 0.8652 GB, free: 10.69 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004794/0.09444, allocations: 200 kB / 0.8654 GB, free: 10.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.09634, allocations: 0.8384 MB / 0.8662 GB, free: 9.656 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.09706, allocations: 0.8174 MB / 0.867 GB, free: 8.836 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.09831, allocations: 0.8922 MB / 0.8679 GB, free: 7.941 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003687/0.102, allocations: 2.476 MB / 0.8703 GB, free: 5.457 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.102, allocations: 4 kB / 0.8703 GB, free: 5.453 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.102, allocations: 0 / 0.8703 GB, free: 5.453 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.211e-05/0.102, allocations: 0 / 0.8703 GB, free: 5.453 MB / 0.823 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.004907/0.107, allocations: 3.206 MB / 0.8734 GB, free: 2.188 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.107, allocations: 12.03 kB / 0.8734 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.1102, allocations: 1.044 MB / 0.8744 GB, free: 1.129 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.1129, allocations: 2.547 MB / 0.8769 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.113, allocations: 177.9 kB / 0.8771 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.1132, allocations: 132 kB / 0.8772 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.1153, allocations: 1.435 MB / 0.8786 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.1153, allocations: 3.938 kB / 0.8786 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1155, allocations: 52 kB / 0.8787 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.1155, allocations: 32 kB / 0.8787 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1167, allocations: 0.6851 MB / 0.8794 GB, free: 11.86 MB / 0.8386 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.007157/0.1239, allocations: 6.36 MB / 0.8856 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.125, allocations: 0.6078 MB / 0.8862 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.1254, allocations: 225.5 kB / 0.8864 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002662/0.1281, allocations: 1.762 MB / 0.8881 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1281, allocations: 45.83 kB / 0.8882 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003341/0.1284, allocations: 103.4 kB / 0.8883 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.374e-06/0.1284, allocations: 0 / 0.8883 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.004305/0.1327, allocations: 1.33 MB / 0.8896 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.1328, allocations: 59.91 kB / 0.8896 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.1351, allocations: 2.058 MB / 0.8916 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.416e-05/0.1352, allocations: 41.7 kB / 0.8917 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/0.1361, allocations: 1.306 MB / 0.8929 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.1363, allocations: 210.2 kB / 0.8931 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.1366, allocations: 236.1 kB / 0.8934 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.1368, allocations: 0.5199 MB / 0.8939 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.1372, allocations: 197.9 kB / 0.8941 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.1383, allocations: 0.9904 MB / 0.895 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.1394, allocations: 0.8797 MB / 0.8959 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.1394, allocations: 4 kB / 0.8959 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002666/0.1421, allocations: 1.202 MB / 0.8971 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.1421, allocations: 20.08 kB / 0.8971 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.1421, allocations: 8 kB / 0.8971 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.1426, allocations: 259.3 kB / 0.8973 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/0.1434, allocations: 267.6 kB / 0.8976 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008482/0.1443, allocations: 0.9678 MB / 0.8985 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000984/0.1453, allocations: 115.9 kB / 0.8987 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.1454, allocations: 63.95 kB / 0.8987 GB, free: 7.227 MB / 0.8542 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 (110): * Single equations (assignments): 108 * 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.000411/0.1458, allocations: 224.2 kB / 0.8989 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.1461, allocations: 258.4 kB / 0.8992 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.1482, allocations: 1.008 MB / 0.9002 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.1482, allocations: 8 kB / 0.9002 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1482, allocations: 0 / 0.9002 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1482, allocations: 3.984 kB / 0.9002 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/0.1526, allocations: 2.538 MB / 0.9026 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1526, allocations: 4 kB / 0.9027 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.1531, allocations: 151.8 kB / 0.9028 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.1536, allocations: 247.4 kB / 0.903 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/0.1536, allocations: 23.97 kB / 0.9031 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000797/0.1544, allocations: 0.9561 MB / 0.904 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.1544, allocations: 11.88 kB / 0.904 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.1567, allocations: 1.16 MB / 0.9051 GB, free: 440 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/0.1573, allocations: 390.1 kB / 0.9055 GB, free: 48 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.1575, allocations: 16 kB / 0.9055 GB, free: 32 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/0.1583, allocations: 99.89 kB / 0.9056 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.1584, allocations: 52.3 kB / 0.9057 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.09e-05/0.1585, allocations: 39.95 kB / 0.9057 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001433/0.1599, allocations: 1.172 MB / 0.9068 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1599, allocations: 0 / 0.9068 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001362/0.1613, allocations: 0.5652 MB / 0.9074 GB, free: 14.1 MB / 0.8698 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.0005051/0.1618, allocations: 270.6 kB / 0.9077 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.1634, allocations: 0.681 MB / 0.9083 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1634, allocations: 0 / 0.9083 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.1644, allocations: 350.5 kB / 0.9087 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/0.1673, allocations: 1.116 MB / 0.9097 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/0.1725, allocations: 3.407 MB / 0.9131 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.1728, allocations: 446.6 kB / 0.9135 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001284/0.1741, allocations: 431.1 kB / 0.9139 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.1746, allocations: 184.4 kB / 0.9141 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/0.1746, allocations: 0 / 0.9141 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of Templates: time 0.05686/0.2314, allocations: 46.85 MB / 0.9598 GB, free: 9.336 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.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: 5.925263454206288]