Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008902/0.0008902, 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.001226/0.001226, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8977/0.8977, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.715/1.715, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.653e-05, allocations: 2.281 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.03289/0.03292, allocations: 48.93 MB / 1.029 GB, free: 1.488 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.04487, allocations: 10.72 MB / 1.039 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.04704, allocations: 83.31 kB / 1.039 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.04884, allocations: 0.7643 MB / 1.04 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.05384, allocations: 2.361 MB / 1.042 GB, free: 3.516 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.05656, allocations: 1.47 MB / 1.044 GB, free: 2.055 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.471/0.5276, allocations: 4.034 MB / 1.048 GB, free: 53.87 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.5288, allocations: 1.002 MB / 1.049 GB, free: 53.79 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.5316, allocations: 2.182 MB / 1.051 GB, free: 53.79 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009099/0.5325, allocations: 0.9443 MB / 1.052 GB, free: 53.69 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.5326, allocations: 137.8 kB / 1.052 GB, free: 53.69 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.5341, allocations: 0.8862 MB / 1.053 GB, free: 53.63 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.5344, allocations: 469.1 kB / 1.053 GB, free: 53.55 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004568/0.5348, allocations: 0.5692 MB / 1.054 GB, free: 53.47 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.5373, allocations: 2.624 MB / 1.056 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5374, allocations: 2.75 kB / 1.056 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5374, allocations: 1.031 kB / 1.056 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.5374, allocations: 0 / 1.056 GB, free: 53.32 MB / 0.9948 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.002381/0.5398, allocations: 1.994 MB / 1.058 GB, free: 52.36 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.5398, allocations: 8.906 kB / 1.058 GB, free: 52.36 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.5399, allocations: 146.6 kB / 1.058 GB, free: 52.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.5416, allocations: 0.5792 MB / 1.059 GB, free: 52.22 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.5432, allocations: 1.358 MB / 1.06 GB, free: 51.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.946e-05/0.5433, allocations: 148.5 kB / 1.06 GB, free: 51.77 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5434, allocations: 97.22 kB / 1.061 GB, free: 51.76 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.5451, allocations: 1.509 MB / 1.062 GB, free: 51.44 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.5451, allocations: 0 / 1.062 GB, free: 51.44 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.5452, allocations: 39.97 kB / 1.062 GB, free: 51.44 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.5453, allocations: 22.22 kB / 1.062 GB, free: 51.44 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.5472, allocations: 1.425 MB / 1.063 GB, free: 51.41 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.004498/0.5517, allocations: 4.327 MB / 1.068 GB, free: 50.17 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.5532, allocations: 1.036 MB / 1.069 GB, free: 50.12 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/0.5539, allocations: 0.5737 MB / 1.069 GB, free: 50.11 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.5541, allocations: 98.69 kB / 1.069 GB, free: 50.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009094/0.5551, allocations: 0.8247 MB / 1.07 GB, free: 49.86 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/0.5551, allocations: 0 / 1.07 GB, free: 49.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=60): time 0.00262/0.5577, allocations: 1.762 MB / 1.072 GB, free: 49.71 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.5577, allocations: 60.52 kB / 1.072 GB, free: 49.64 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.5589, allocations: 1.425 MB / 1.073 GB, free: 49.47 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.5589, allocations: 39.67 kB / 1.073 GB, free: 49.44 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.5593, allocations: 0.6534 MB / 1.074 GB, free: 49.23 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.5594, allocations: 218.8 kB / 1.074 GB, free: 49.09 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.5596, allocations: 165.5 kB / 1.074 GB, free: 49.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.5596, allocations: 331.4 kB / 1.075 GB, free: 48.76 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000797/0.5604, allocations: 0.5555 MB / 1.075 GB, free: 48.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/0.5613, allocations: 1.006 MB / 1.076 GB, free: 48.23 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.5634, allocations: 1.19 MB / 1.077 GB, free: 47.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5634, allocations: 4.281 kB / 1.077 GB, free: 47.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002332/0.5657, allocations: 1.452 MB / 1.079 GB, free: 47.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5657, allocations: 9.938 kB / 1.079 GB, free: 47.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.5657, allocations: 4.656 kB / 1.079 GB, free: 47.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.5658, allocations: 9.25 kB / 1.079 GB, free: 47.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008257/0.5666, allocations: 245.8 kB / 1.079 GB, free: 47.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.5666, allocations: 11.41 kB / 1.079 GB, free: 47.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.5677, allocations: 194.6 kB / 1.079 GB, free: 47.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/0.5677, allocations: 41.25 kB / 1.079 GB, free: 47.32 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.0005263/0.5682, allocations: 355.1 kB / 1.08 GB, free: 47.09 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.5684, allocations: 154.9 kB / 1.08 GB, free: 47 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.5705, allocations: 1.422 MB / 1.081 GB, free: 46.56 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.5705, allocations: 6.656 kB / 1.081 GB, free: 46.56 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5705, allocations: 0 / 1.081 GB, free: 46.56 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00167/0.5722, allocations: 1.278 MB / 1.082 GB, free: 46.08 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.5757, allocations: 2.722 MB / 1.085 GB, free: 44.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.5757, allocations: 2.594 kB / 1.085 GB, free: 44.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/0.5763, allocations: 204.8 kB / 1.085 GB, free: 44.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.5763, allocations: 4.562 kB / 1.085 GB, free: 44.91 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.5764, allocations: 23.91 kB / 1.085 GB, free: 44.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.5764, allocations: 7.984 kB / 1.085 GB, free: 44.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5764, allocations: 6.562 kB / 1.085 GB, free: 44.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.5796, allocations: 2.253 MB / 1.088 GB, free: 44.01 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/0.5802, allocations: 286.4 kB / 1.088 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.5803, allocations: 13.28 kB / 1.088 GB, free: 43.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.581, allocations: 110.3 kB / 1.088 GB, free: 43.82 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.5811, allocations: 53.78 kB / 1.088 GB, free: 43.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/0.5811, allocations: 43.28 kB / 1.088 GB, free: 43.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001288/0.5824, allocations: 0.9974 MB / 1.089 GB, free: 43.41 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5824, allocations: 3.938 kB / 1.089 GB, free: 43.41 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001282/0.5837, allocations: 465.9 kB / 1.089 GB, free: 43.31 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.004136/0.5878, allocations: 3.123 MB / 1.092 GB, free: 41.83 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.5901, allocations: 1.251 MB / 1.094 GB, free: 41.51 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5901, allocations: 9.375 kB / 1.094 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.5912, allocations: 0.6281 MB / 1.094 GB, free: 41.34 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.5939, allocations: 0.7641 MB / 1.095 GB, free: 41.13 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.6106, allocations: 12.34 MB / 1.107 GB, free: 35.73 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.6112, allocations: 0.6388 MB / 1.108 GB, free: 35.56 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001144/0.6124, allocations: 307.3 kB / 1.108 GB, free: 35.47 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/0.613, allocations: 0.5693 MB / 1.109 GB, free: 35.05 MB / 0.9948 GB Notification: Performance of SimCode: time 1.263e-06/0.613, allocations: 4.594 kB / 1.109 GB, free: 35.05 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06791/0.6809, allocations: 46.43 MB / 1.154 GB, free: 20.17 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.506, allocations: 10.56 kB / 1.154 GB, free: 20.16 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.656944273971021]