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.008755/0.008755, allocations: 102 kB / 15.73 MB, free: 6.039 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.001747/0.001748, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.258/2.258, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.057, allocations: 140.4 MB / 1.088 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06459/1.122, allocations: 53.45 MB / 1.14 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02579/1.147, allocations: 11.5 MB / 1.151 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00461/1.152, allocations: 59.53 kB / 1.151 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003382/1.156, allocations: 0.7649 MB / 1.152 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008818/1.164, allocations: 2.156 MB / 1.154 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004897/1.169, allocations: 1.386 MB / 1.156 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007574/1.177, allocations: 3.933 MB / 1.159 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/1.18, allocations: 1.276 MB / 1.161 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00451/1.184, allocations: 1.413 MB / 1.162 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/1.187, allocations: 1.075 MB / 1.163 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0007741/1.188, allocations: 143.4 kB / 1.163 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004785/1.193, allocations: 1.039 MB / 1.164 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/1.194, allocations: 444 kB / 1.165 GB, free: 268 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002792/1.197, allocations: 0.8536 MB / 1.166 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008211/1.205, allocations: 2.586 MB / 1.168 GB, free: 14.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.205, allocations: 0.6094 kB / 1.168 GB, free: 14.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.146e-06/1.205, allocations: 0 / 1.168 GB, free: 14.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001165/1.205, allocations: 0 / 1.168 GB, free: 14.73 MB / 0.92 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.008405/1.214, allocations: 2.019 MB / 1.17 GB, free: 13.29 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.214, allocations: 9.406 kB / 1.17 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004068/1.218, allocations: 0.5669 MB / 1.171 GB, free: 13.04 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003915/1.222, allocations: 1.402 MB / 1.172 GB, free: 11.95 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/1.222, allocations: 117 kB / 1.172 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003566/1.222, allocations: 98.53 kB / 1.172 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/1.226, allocations: 1.355 MB / 1.173 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/1.226, allocations: 1.219 kB / 1.173 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/1.226, allocations: 37.31 kB / 1.174 GB, free: 11.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/1.226, allocations: 27.64 kB / 1.174 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003978/1.23, allocations: 1.424 MB / 1.175 GB, free: 10.34 MB / 0.92 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.008951/1.239, allocations: 5.351 MB / 1.18 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/1.242, allocations: 1.075 MB / 1.181 GB, free: 5.508 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/1.244, allocations: 0.6026 MB / 1.182 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008204/1.245, allocations: 1.066 MB / 1.183 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/1.246, allocations: 0.6759 MB / 1.183 GB, free: 3.582 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/1.246, allocations: 3.938 kB / 1.183 GB, free: 3.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005793/1.252, allocations: 1.755 MB / 1.185 GB, free: 2.746 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/1.252, allocations: 58.38 kB / 1.185 GB, free: 2.684 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/1.255, allocations: 1.411 MB / 1.187 GB, free: 1.926 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.971e-05/1.255, allocations: 38.55 kB / 1.187 GB, free: 1.887 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006374/1.255, allocations: 0.6467 MB / 1.187 GB, free: 1.312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/1.256, allocations: 202.5 kB / 1.188 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/1.256, allocations: 166.8 kB / 1.188 GB, free: 1.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.256, allocations: 333.3 kB / 1.188 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/1.258, allocations: 0.5568 MB / 1.189 GB, free: 456 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/1.26, allocations: 0.762 MB / 1.189 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/1.263, allocations: 1.186 MB / 1.19 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.263, allocations: 4.875 kB / 1.19 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003987/1.267, allocations: 1.438 MB / 1.192 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/1.267, allocations: 13.25 kB / 1.192 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/1.267, allocations: 4.938 kB / 1.192 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/1.267, allocations: 17.16 kB / 1.192 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.268, allocations: 242.3 kB / 1.192 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/1.268, allocations: 15.7 kB / 1.192 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.27, allocations: 192.3 kB / 1.192 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.27, allocations: 39.03 kB / 1.192 GB, free: 14.34 MB / 0.9356 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.0007656/1.271, allocations: 364.3 kB / 1.193 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/1.271, allocations: 151.1 kB / 1.193 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/1.275, allocations: 1.408 MB / 1.194 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.275, allocations: 13.73 kB / 1.194 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.275, allocations: 0 / 1.194 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003452/1.278, allocations: 1.264 MB / 1.195 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006496/1.285, allocations: 2.97 MB / 1.198 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.285, allocations: 2.75 kB / 1.198 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.286, allocations: 204.1 kB / 1.199 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/1.286, allocations: 4.125 kB / 1.199 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/1.286, allocations: 29.59 kB / 1.199 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/1.286, allocations: 4.125 kB / 1.199 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.286, allocations: 6.688 kB / 1.199 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005701/1.292, allocations: 2.226 MB / 1.201 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007544/1.292, allocations: 364.1 kB / 1.201 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/1.293, allocations: 13.69 kB / 1.201 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.294, allocations: 114.8 kB / 1.201 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.294, allocations: 50.34 kB / 1.201 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/1.294, allocations: 33.75 kB / 1.201 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001484/1.296, allocations: 0.9938 MB / 1.202 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.296, allocations: 4 kB / 1.202 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001559/1.297, allocations: 463.4 kB / 1.203 GB, free: 7.551 MB / 0.9356 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.0009428/1.298, allocations: 457.6 kB / 1.203 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003434/1.302, allocations: 1.281 MB / 1.204 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.302, allocations: 384 / 1.204 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/1.303, allocations: 0.6594 MB / 1.205 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/1.307, allocations: 0.7616 MB / 1.206 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/1.312, allocations: 2.642 MB / 1.208 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/1.313, allocations: 1.217 MB / 1.21 GB, free: 484 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001401/1.314, allocations: 311.4 kB / 1.21 GB, free: 168 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/1.315, allocations: 127.4 kB / 1.21 GB, free: 40 kB / 0.9356 GB Notification: Performance of SimCode: time 1.253e-06/1.315, allocations: 0 / 1.21 GB, free: 40 kB / 0.9356 GB Notification: Performance of Templates: time 0.05418/1.369, allocations: 30.27 MB / 1.24 GB, free: 2.145 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches