Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.005854/0.005854, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.001245/0.001246, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6087, allocations: 140.4 MB / 0.9496 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0506/0.6594, allocations: 53.12 MB / 1.001 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.6768, allocations: 11.57 MB / 1.013 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.6798, allocations: 55.62 kB / 1.013 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.682, allocations: 0.6312 MB / 1.013 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006338/0.6884, allocations: 1.995 MB / 1.015 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.692, allocations: 1.245 MB / 1.017 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006389/0.6984, allocations: 5.052 MB / 1.022 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.7005, allocations: 1.083 MB / 1.023 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.7036, allocations: 1.198 MB / 1.024 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.7058, allocations: 1.093 MB / 1.025 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.7063, allocations: 72 kB / 1.025 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.7091, allocations: 0.9432 MB / 1.026 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006041/0.7098, allocations: 374.5 kB / 1.026 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.7114, allocations: 0.781 MB / 1.027 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.7142, allocations: 1.972 MB / 1.029 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7142, allocations: 3.938 kB / 1.029 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7142, allocations: 0 / 1.029 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.58e-05/0.7143, allocations: 0 / 1.029 GB, free: 0.6719 MB / 0.7794 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.004854/0.7192, allocations: 2.014 MB / 1.031 GB, free: 14.6 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7192, allocations: 12.03 kB / 1.031 GB, free: 14.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/0.7229, allocations: 0.5686 MB / 1.031 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.7255, allocations: 1.368 MB / 1.033 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.7256, allocations: 115.7 kB / 1.033 GB, free: 12.48 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.7258, allocations: 96 kB / 1.033 GB, free: 12.38 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.7288, allocations: 1.35 MB / 1.034 GB, free: 11 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.7289, allocations: 8 kB / 1.034 GB, free: 10.99 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.729, allocations: 39.98 kB / 1.034 GB, free: 10.95 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.729, allocations: 24 kB / 1.034 GB, free: 10.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.7327, allocations: 1.429 MB / 1.036 GB, free: 9.496 MB / 0.795 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.008523/0.7412, allocations: 5.374 MB / 1.041 GB, free: 3.875 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.7442, allocations: 1.077 MB / 1.042 GB, free: 2.793 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.7458, allocations: 0.5997 MB / 1.043 GB, free: 2.188 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000776/0.7466, allocations: 1.065 MB / 1.044 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/0.7484, allocations: 0.6783 MB / 1.044 GB, free: 196 kB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 2.846e-06/0.7484, allocations: 0 / 1.044 GB, free: 196 kB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.005178/0.7536, allocations: 1.754 MB / 1.046 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.7537, allocations: 59.97 kB / 1.046 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.7559, allocations: 1.397 MB / 1.047 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.756, allocations: 37.7 kB / 1.047 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006186/0.7566, allocations: 0.6462 MB / 1.048 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.7569, allocations: 205 kB / 1.048 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003236/0.7572, allocations: 166.5 kB / 1.048 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7573, allocations: 334 kB / 1.049 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.7589, allocations: 0.5523 MB / 1.049 GB, free: 11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.7607, allocations: 0.7574 MB / 1.05 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/0.7638, allocations: 1.193 MB / 1.051 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.7638, allocations: 0 / 1.051 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003916/0.7678, allocations: 1.444 MB / 1.053 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.7678, allocations: 11.94 kB / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7678, allocations: 4.438 kB / 1.053 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.7679, allocations: 12 kB / 1.053 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.7691, allocations: 247.6 kB / 1.053 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/0.7691, allocations: 11.94 kB / 1.053 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.7708, allocations: 222.7 kB / 1.053 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.7709, allocations: 39.97 kB / 1.053 GB, free: 6.91 MB / 0.8106 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.0006782/0.7716, allocations: 357.5 kB / 1.053 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/0.772, allocations: 146.2 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/0.7758, allocations: 1.415 MB / 1.055 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.7759, allocations: 8 kB / 1.055 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.7759, allocations: 0 / 1.055 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003236/0.7791, allocations: 1.267 MB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006579/0.7857, allocations: 2.946 MB / 1.059 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.7858, allocations: 4 kB / 1.059 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.787, allocations: 208 kB / 1.059 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/0.787, allocations: 4 kB / 1.059 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.7871, allocations: 23.97 kB / 1.059 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.7871, allocations: 11.94 kB / 1.059 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7871, allocations: 0 / 1.059 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/0.7927, allocations: 2.23 MB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/0.7937, allocations: 359 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003938/0.7941, allocations: 16 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.7956, allocations: 127.8 kB / 1.062 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.7958, allocations: 56.42 kB / 1.062 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.7959, allocations: 35.97 kB / 1.062 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001769/0.7977, allocations: 0.9831 MB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7977, allocations: 3.938 kB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001705/0.7994, allocations: 459.3 kB / 1.064 GB, free: 12.09 MB / 0.8262 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.001119/0.8005, allocations: 440.8 kB / 1.064 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.8043, allocations: 1.278 MB / 1.065 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.8043, allocations: 3.938 kB / 1.065 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.8061, allocations: 0.6556 MB / 1.066 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/0.8105, allocations: 0.7342 MB / 1.067 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/0.8166, allocations: 3.177 MB / 1.07 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.8178, allocations: 1.217 MB / 1.071 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/0.8186, allocations: 135.3 kB / 1.071 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of SimCode: time 2.324e-06/0.8186, allocations: 0 / 1.071 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of Templates: time 0.04461/0.8633, allocations: 26.17 MB / 1.097 GB, free: 10.39 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches