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.00173/0.00173, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.002062/0.002062, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.375/1.375, allocations: 222.9 MB / 241 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.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 70.33 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2935, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05138/0.3449, allocations: 53.46 MB / 1.003 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.3611, allocations: 11.5 MB / 1.015 GB, free: 6.875 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.3633, allocations: 59.69 kB / 1.015 GB, free: 6.816 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.3653, allocations: 0.7645 MB / 1.015 GB, free: 6.047 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005968/0.3714, allocations: 2.168 MB / 1.017 GB, free: 3.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.3749, allocations: 1.38 MB / 1.019 GB, free: 2.5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005329/0.3802, allocations: 3.928 MB / 1.023 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.3823, allocations: 1.271 MB / 1.024 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.3859, allocations: 1.408 MB / 1.025 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.3878, allocations: 1.081 MB / 1.026 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.388, allocations: 140 kB / 1.026 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.3904, allocations: 1.049 MB / 1.027 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.3909, allocations: 438.5 kB / 1.028 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.3919, allocations: 0.8551 MB / 1.029 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003915/0.3958, allocations: 2.574 MB / 1.031 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3958, allocations: 4 kB / 1.031 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3958, allocations: 0 / 1.031 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.3959, allocations: 0 / 1.031 GB, free: 5.699 MB / 0.8106 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.003802/0.3997, allocations: 2.018 MB / 1.033 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3997, allocations: 12.03 kB / 1.033 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.4031, allocations: 0.5725 MB / 1.034 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.4056, allocations: 1.391 MB / 1.035 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.4058, allocations: 115.7 kB / 1.035 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.4059, allocations: 95.94 kB / 1.035 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.4088, allocations: 1.362 MB / 1.037 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.4089, allocations: 0 / 1.037 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.409, allocations: 39.94 kB / 1.037 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.409, allocations: 28 kB / 1.037 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003616/0.4126, allocations: 1.429 MB / 1.038 GB, free: 14.49 MB / 0.8262 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.008288/0.4209, allocations: 5.362 MB / 1.043 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.4239, allocations: 1.067 MB / 1.044 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.4255, allocations: 0.5997 MB / 1.045 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.4267, allocations: 1.069 MB / 1.046 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00177/0.4284, allocations: 0.6705 MB / 1.047 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 5.3e-06/0.4285, allocations: 11.92 kB / 1.047 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.004833/0.4333, allocations: 1.754 MB / 1.048 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4334, allocations: 63.97 kB / 1.048 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.4353, allocations: 1.413 MB / 1.05 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/0.4354, allocations: 37.7 kB / 1.05 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.4359, allocations: 0.6423 MB / 1.051 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.4361, allocations: 213 kB / 1.051 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.4364, allocations: 162.5 kB / 1.051 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4366, allocations: 333.9 kB / 1.051 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.4381, allocations: 0.5523 MB / 1.052 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.4398, allocations: 0.7574 MB / 1.052 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/0.4427, allocations: 1.185 MB / 1.054 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4427, allocations: 7.984 kB / 1.054 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003814/0.4466, allocations: 1.432 MB / 1.055 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.4466, allocations: 11.94 kB / 1.055 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4466, allocations: 4 kB / 1.055 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.4467, allocations: 8.438 kB / 1.055 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.4479, allocations: 255.6 kB / 1.055 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.4479, allocations: 19.91 kB / 1.055 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.4494, allocations: 186.8 kB / 1.056 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.433e-05/0.4495, allocations: 43.97 kB / 1.056 GB, free: 11.93 MB / 0.8419 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.0006491/0.4502, allocations: 353.6 kB / 1.056 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.4505, allocations: 146.2 kB / 1.056 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/0.4541, allocations: 1.422 MB / 1.057 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.4541, allocations: 8 kB / 1.057 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.4542, allocations: 0 / 1.057 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003095/0.4573, allocations: 1.259 MB / 1.059 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006018/0.4633, allocations: 2.965 MB / 1.062 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4633, allocations: 7.984 kB / 1.062 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.4645, allocations: 203.8 kB / 1.062 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.4645, allocations: 4 kB / 1.062 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/0.4646, allocations: 23.97 kB / 1.062 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.4646, allocations: 8 kB / 1.062 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4646, allocations: 96 / 1.062 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00549/0.4701, allocations: 2.231 MB / 1.064 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009912/0.4712, allocations: 355 kB / 1.064 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.4714, allocations: 16.06 kB / 1.064 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.4726, allocations: 123.8 kB / 1.064 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.4727, allocations: 56.38 kB / 1.064 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.4728, allocations: 39.95 kB / 1.065 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001458/0.4743, allocations: 0.9947 MB / 1.066 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4743, allocations: 0 / 1.066 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001305/0.4756, allocations: 463.4 kB / 1.066 GB, free: 1.09 MB / 0.8419 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.0008761/0.4765, allocations: 453 kB / 1.066 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00342/0.4799, allocations: 1.277 MB / 1.068 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.48, allocations: 0 / 1.068 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.4817, allocations: 0.6519 MB / 1.068 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/0.4851, allocations: 0.769 MB / 1.069 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/0.4899, allocations: 2.631 MB / 1.072 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/0.4908, allocations: 1.225 MB / 1.073 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001338/0.4921, allocations: 309.8 kB / 1.073 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.4925, allocations: 131.3 kB / 1.073 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of SimCode: time 1.072e-06/0.4925, allocations: 0 / 1.073 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of Templates: time 0.5792/1.072, allocations: 30.26 MB / 1.103 GB, free: 125.8 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 -s cvode -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