Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008033/0.0008033, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008902/0.0008902, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.658/1.658, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.612e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.03357/0.0336, allocations: 48.85 MB / 0.9982 GB, free: 2.469 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.04474, allocations: 10.71 MB / 1.009 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.04623, allocations: 83.31 kB / 1.009 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.0476, allocations: 0.7643 MB / 1.009 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.05165, allocations: 2.369 MB / 1.012 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.05411, allocations: 1.453 MB / 1.013 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003617/0.05773, allocations: 4.045 MB / 1.017 GB, free: 15 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.05898, allocations: 1.01 MB / 1.018 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.06146, allocations: 1.968 MB / 1.02 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008464/0.06231, allocations: 0.954 MB / 1.021 GB, free: 11.02 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.06244, allocations: 136 kB / 1.021 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.06371, allocations: 0.8922 MB / 1.022 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.06398, allocations: 470.2 kB / 1.022 GB, free: 9.535 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.0644, allocations: 0.565 MB / 1.023 GB, free: 8.969 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.06638, allocations: 2.621 MB / 1.026 GB, free: 6.34 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.06638, allocations: 4 kB / 1.026 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.513e-06/0.06638, allocations: 0 / 1.026 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.0664, allocations: 4 kB / 1.026 GB, free: 6.332 MB / 0.9792 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.002142/0.06855, allocations: 1.99 MB / 1.028 GB, free: 4.305 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.06859, allocations: 8.031 kB / 1.028 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.06872, allocations: 147.8 kB / 1.028 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.07031, allocations: 0.5813 MB / 1.028 GB, free: 3.562 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.07189, allocations: 1.363 MB / 1.03 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.07203, allocations: 141.4 kB / 1.03 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.07214, allocations: 96 kB / 1.03 GB, free: 1.914 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.07386, allocations: 1.508 MB / 1.031 GB, free: 340 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.07388, allocations: 7.891 kB / 1.031 GB, free: 332 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/0.07395, allocations: 36 kB / 1.031 GB, free: 296 kB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.07397, allocations: 24 kB / 1.031 GB, free: 272 kB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.07597, allocations: 1.425 MB / 1.033 GB, free: 14.84 MB / 0.9948 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.004266/0.08024, allocations: 4.331 MB / 1.037 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.08173, allocations: 1.032 MB / 1.038 GB, free: 9.375 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008082/0.08254, allocations: 0.5705 MB / 1.039 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.08273, allocations: 100.4 kB / 1.039 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009725/0.08371, allocations: 0.8203 MB / 1.039 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=60): time 1.783e-06/0.08371, allocations: 0 / 1.039 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of matching and sorting (n=60): time 0.002657/0.08636, allocations: 1.765 MB / 1.041 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.0864, allocations: 63.89 kB / 1.041 GB, free: 5.988 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.08755, allocations: 1.422 MB / 1.043 GB, free: 4.559 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.0876, allocations: 41.64 kB / 1.043 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.088, allocations: 0.6589 MB / 1.043 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.08815, allocations: 218.1 kB / 1.043 GB, free: 3.629 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.08834, allocations: 158.6 kB / 1.044 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.08845, allocations: 338 kB / 1.044 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008756/0.08932, allocations: 0.5523 MB / 1.044 GB, free: 2.578 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.09034, allocations: 1.008 MB / 1.045 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.09211, allocations: 1.194 MB / 1.047 GB, free: 180 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.09212, allocations: 3.938 kB / 1.047 GB, free: 176 kB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.4058/0.4979, allocations: 1.443 MB / 1.048 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.498, allocations: 6.906 kB / 1.048 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.498, allocations: 5.312 kB / 1.048 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.498, allocations: 11.94 kB / 1.048 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.4986, allocations: 252.3 kB / 1.048 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.4986, allocations: 12.25 kB / 1.048 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007588/0.4994, allocations: 182.3 kB / 1.048 GB, free: 134.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.4994, allocations: 43.23 kB / 1.049 GB, free: 134.8 MB / 0.9948 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.0004991/0.4999, allocations: 357.1 kB / 1.049 GB, free: 134.6 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.5001, allocations: 154.9 kB / 1.049 GB, free: 134.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.5021, allocations: 1.426 MB / 1.05 GB, free: 134.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.5021, allocations: 5.812 kB / 1.05 GB, free: 134.4 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5021, allocations: 0 / 1.05 GB, free: 134.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/0.5037, allocations: 1.274 MB / 1.052 GB, free: 133.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.5068, allocations: 2.713 MB / 1.054 GB, free: 132.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5068, allocations: 6.781 kB / 1.054 GB, free: 132.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.5073, allocations: 210.1 kB / 1.055 GB, free: 132.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5074, allocations: 6.812 kB / 1.055 GB, free: 132.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.5074, allocations: 23.33 kB / 1.055 GB, free: 132.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.5074, allocations: 6.062 kB / 1.055 GB, free: 132.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5074, allocations: 2.875 kB / 1.055 GB, free: 132.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.5101, allocations: 2.243 MB / 1.057 GB, free: 131.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.5105, allocations: 289.5 kB / 1.057 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.5106, allocations: 20.44 kB / 1.057 GB, free: 131.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.5111, allocations: 115.5 kB / 1.057 GB, free: 131.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.5112, allocations: 55.77 kB / 1.057 GB, free: 131.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.5113, allocations: 37.91 kB / 1.057 GB, free: 131.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007471/0.512, allocations: 1.001 MB / 1.058 GB, free: 131.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.512, allocations: 0 / 1.058 GB, free: 131.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008325/0.5129, allocations: 466.1 kB / 1.059 GB, free: 131.3 MB / 0.9948 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.003121/0.516, allocations: 3.131 MB / 1.062 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.5176, allocations: 1.251 MB / 1.063 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5176, allocations: 1.422 kB / 1.063 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008405/0.5185, allocations: 0.6288 MB / 1.064 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.5202, allocations: 0.7587 MB / 1.064 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.5329, allocations: 12.33 MB / 1.076 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.5333, allocations: 0.6416 MB / 1.077 GB, free: 123.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007882/0.5341, allocations: 312.5 kB / 1.077 GB, free: 123.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/0.5346, allocations: 0.5703 MB / 1.078 GB, free: 123.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.052e-06/0.5346, allocations: 0 / 1.078 GB, free: 123.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05643/0.591, allocations: 46.42 MB / 1.123 GB, free: 110 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.532, allocations: 5.281 kB / 1.123 GB, free: 110 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.528738272376359]