Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.725/2.725, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003423, allocations: 12 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7035, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05811/0.7616, allocations: 52.12 MB / 1.075 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.7808, allocations: 11.43 MB / 1.086 GB, free: 64 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.7839, allocations: 47.69 kB / 1.086 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.7866, allocations: 0.6234 MB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008627/0.7953, allocations: 1.999 MB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.7999, allocations: 1.242 MB / 1.09 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009409/0.8094, allocations: 5.053 MB / 1.095 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.8121, allocations: 1.057 MB / 1.096 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.8154, allocations: 1.162 MB / 1.097 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.8177, allocations: 1.038 MB / 1.098 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.8182, allocations: 60 kB / 1.098 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.8213, allocations: 0.9353 MB / 1.099 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000757/0.8221, allocations: 354.5 kB / 1.099 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002032/0.8241, allocations: 0.7864 MB / 1.1 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.8277, allocations: 1.929 MB / 1.102 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.8277, allocations: 0 / 1.102 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8277, allocations: 0 / 1.102 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.821e-05/0.8278, allocations: 0 / 1.102 GB, free: 15.71 MB / 0.8575 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.005068/0.8329, allocations: 1.726 MB / 1.103 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.833, allocations: 8.031 kB / 1.103 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/0.8369, allocations: 0.6272 MB / 1.104 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.8402, allocations: 1.368 MB / 1.105 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.8404, allocations: 115.7 kB / 1.105 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.8407, allocations: 92 kB / 1.105 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/0.8444, allocations: 1.393 MB / 1.107 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.8445, allocations: 0 / 1.107 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.8446, allocations: 40 kB / 1.107 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.8447, allocations: 35.92 kB / 1.107 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004165/0.8488, allocations: 1.499 MB / 1.108 GB, free: 8.664 MB / 0.8575 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.01001/0.8589, allocations: 5.39 MB / 1.114 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.8621, allocations: 1.123 MB / 1.115 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.8639, allocations: 0.646 MB / 1.115 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009345/0.8649, allocations: 1.065 MB / 1.116 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/0.8669, allocations: 0.7173 MB / 1.117 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 3.727e-06/0.8669, allocations: 4 kB / 1.117 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.005771/0.8727, allocations: 1.856 MB / 1.119 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.8728, allocations: 63.97 kB / 1.119 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.8752, allocations: 1.39 MB / 1.12 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.8753, allocations: 41.7 kB / 1.12 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006635/0.876, allocations: 0.6463 MB / 1.121 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.8763, allocations: 212.9 kB / 1.121 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.8764, allocations: 65.69 kB / 1.121 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.8766, allocations: 334 kB / 1.122 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.8784, allocations: 0.5875 MB / 1.122 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.8804, allocations: 0.7926 MB / 1.123 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.884, allocations: 1.264 MB / 1.124 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.884, allocations: 4 kB / 1.124 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004442/0.8885, allocations: 1.507 MB / 1.126 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.8885, allocations: 11.94 kB / 1.126 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.8885, allocations: 7.938 kB / 1.126 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/0.8886, allocations: 8 kB / 1.126 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.8899, allocations: 272 kB / 1.126 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.8899, allocations: 8 kB / 1.126 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.8918, allocations: 242.8 kB / 1.126 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.8919, allocations: 39.97 kB / 1.126 GB, free: 5.668 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (92): * Single equations (assignments): 92 * 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.0008298/0.8927, allocations: 357.5 kB / 1.127 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.8931, allocations: 146.2 kB / 1.127 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.8976, allocations: 1.499 MB / 1.128 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.8976, allocations: 12 kB / 1.128 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.8977, allocations: 0 / 1.128 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003604/0.9013, allocations: 1.333 MB / 1.129 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006919/0.9082, allocations: 3.027 MB / 1.132 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.9082, allocations: 256 / 1.132 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.9095, allocations: 223.7 kB / 1.133 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-05/0.9095, allocations: 4 kB / 1.133 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.803e-05/0.9097, allocations: 27.97 kB / 1.133 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.9097, allocations: 4 kB / 1.133 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9097, allocations: 0 / 1.133 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.9159, allocations: 2.34 MB / 1.135 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008852/0.9168, allocations: 379 kB / 1.135 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/0.9172, allocations: 20 kB / 1.135 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.9187, allocations: 163.7 kB / 1.136 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.9189, allocations: 52.44 kB / 1.136 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.919, allocations: 35.95 kB / 1.136 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001625/0.9206, allocations: 0.983 MB / 1.137 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.573e-06/0.9207, allocations: 4 kB / 1.137 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001555/0.9222, allocations: 451.3 kB / 1.137 GB, free: 10.45 MB / 0.8887 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.001075/0.9233, allocations: 436.4 kB / 1.137 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003945/0.9273, allocations: 1.352 MB / 1.139 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.9273, allocations: 0 / 1.139 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.9293, allocations: 0.6949 MB / 1.139 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/0.9339, allocations: 0.7417 MB / 1.14 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005962/0.9399, allocations: 3.253 MB / 1.143 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.9409, allocations: 1.221 MB / 1.144 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/0.9415, allocations: 147.3 kB / 1.145 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/0.9415, allocations: 0 / 1.145 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of Templates: time 0.04526/0.9868, allocations: 25.94 MB / 1.17 GB, free: 8.777 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches