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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001479/0.00148, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001656/0.001656, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 64.41 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3191, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.5806/0.8998, allocations: 53.45 MB / 1.116 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02/0.9198, allocations: 11.5 MB / 1.128 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003533/0.9234, allocations: 59.06 kB / 1.128 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.9261, allocations: 0.7695 MB / 1.128 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007741/0.934, allocations: 2.155 MB / 1.131 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004537/0.9385, allocations: 1.374 MB / 1.132 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007046/0.9456, allocations: 3.918 MB / 1.136 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.948, allocations: 1.273 MB / 1.137 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.9523, allocations: 1.396 MB / 1.138 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.955, allocations: 1.08 MB / 1.139 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.9554, allocations: 139.4 kB / 1.14 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.9592, allocations: 1.049 MB / 1.141 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005829/0.9598, allocations: 444.4 kB / 1.141 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.9611, allocations: 0.8544 MB / 1.142 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005299/0.9664, allocations: 2.544 MB / 1.144 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.9665, allocations: 0.9062 kB / 1.144 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9665, allocations: 0 / 1.144 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.244e-05/0.9666, allocations: 0 / 1.144 GB, free: 5.719 MB / 0.8731 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.005155/0.9717, allocations: 2.018 MB / 1.146 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.9718, allocations: 10.7 kB / 1.146 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/0.9756, allocations: 0.5737 MB / 1.147 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.9785, allocations: 1.335 MB / 1.148 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.9787, allocations: 116.3 kB / 1.148 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.9788, allocations: 92.41 kB / 1.148 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/0.9822, allocations: 1.357 MB / 1.15 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.9822, allocations: 5.094 kB / 1.15 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.9823, allocations: 37.28 kB / 1.15 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.9824, allocations: 24.61 kB / 1.15 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003983/0.9864, allocations: 1.429 MB / 1.151 GB, free: 2.402 MB / 0.8731 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.008847/0.9952, allocations: 5.403 MB / 1.156 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.9984, allocations: 1.074 MB / 1.157 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/1, allocations: 0.5979 MB / 1.158 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008825/1.001, allocations: 1.069 MB / 1.159 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/1.003, allocations: 0.6725 MB / 1.16 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=60): time 3.697e-06/1.003, allocations: 5.094 kB / 1.16 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=60): time 0.005719/1.009, allocations: 1.754 MB / 1.161 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/1.009, allocations: 58.12 kB / 1.161 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/1.012, allocations: 1.413 MB / 1.163 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001696/1.012, allocations: 42.77 kB / 1.163 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007233/1.012, allocations: 0.6414 MB / 1.164 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/1.013, allocations: 207.5 kB / 1.164 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/1.013, allocations: 166.5 kB / 1.164 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.013, allocations: 337.3 kB / 1.164 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/1.015, allocations: 0.5572 MB / 1.165 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/1.017, allocations: 0.7526 MB / 1.166 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/1.02, allocations: 1.185 MB / 1.167 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.02, allocations: 1.75 kB / 1.167 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004444/1.025, allocations: 1.434 MB / 1.168 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/1.025, allocations: 11.09 kB / 1.168 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/1.025, allocations: 4.844 kB / 1.168 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/1.025, allocations: 12.16 kB / 1.168 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.026, allocations: 254.3 kB / 1.168 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/1.026, allocations: 12.92 kB / 1.168 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.028, allocations: 187.9 kB / 1.169 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.028, allocations: 42.88 kB / 1.169 GB, free: 7.195 MB / 0.8887 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.0008957/1.029, allocations: 356 kB / 1.169 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/1.03, allocations: 155.8 kB / 1.169 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/1.034, allocations: 1.411 MB / 1.17 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/1.034, allocations: 10.19 kB / 1.17 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.034, allocations: 0.9688 kB / 1.17 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00342/1.038, allocations: 1.262 MB / 1.172 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007417/1.045, allocations: 2.966 MB / 1.175 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.045, allocations: 2.281 kB / 1.175 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.046, allocations: 213.1 kB / 1.175 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.796e-05/1.046, allocations: 3.969 kB / 1.175 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-05/1.047, allocations: 25.56 kB / 1.175 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-05/1.047, allocations: 12.47 kB / 1.175 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.047, allocations: 1.75 kB / 1.175 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005993/1.053, allocations: 2.23 MB / 1.177 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.054, allocations: 360.7 kB / 1.177 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005679/1.054, allocations: 13.44 kB / 1.177 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.056, allocations: 117.6 kB / 1.177 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.056, allocations: 55.62 kB / 1.178 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.056, allocations: 36.95 kB / 1.178 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002145/1.058, allocations: 0.9892 MB / 1.179 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.4e-07/1.058, allocations: 1.312 kB / 1.179 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002205/1.061, allocations: 462.5 kB / 1.179 GB, free: 1.109 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.001301/1.062, allocations: 453.9 kB / 1.179 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004094/1.066, allocations: 1.333 MB / 1.181 GB, free: 268 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.066, allocations: 0 / 1.181 GB, free: 268 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/1.068, allocations: 0.6593 MB / 1.181 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/1.073, allocations: 0.7611 MB / 1.182 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007691/1.081, allocations: 2.728 MB / 1.185 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.082, allocations: 1.217 MB / 1.186 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009444/1.083, allocations: 139.3 kB / 1.186 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of SimCode: time 1.272e-06/1.083, allocations: 4 kB / 1.186 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.04206/1.125, allocations: 26.39 MB / 1.212 GB, free: 1.465 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches