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.001877/0.001877, allocations: 110.3 kB / 18.94 MB, free: 2.789 MB / 14.72 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.002258/0.002258, allocations: 217.1 kB / 22.26 MB, free: 5.215 MB / 14.72 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 1.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.343/3.343, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 68.06 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3665, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06811/0.4346, allocations: 54.68 MB / 1.379 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02184/0.4564, allocations: 11.58 MB / 1.391 GB, free: 15.45 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003425/0.4598, allocations: 83.31 kB / 1.391 GB, free: 15.36 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.4625, allocations: 0.7918 MB / 1.391 GB, free: 14.57 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007018/0.4695, allocations: 2.324 MB / 1.394 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004188/0.4737, allocations: 1.438 MB / 1.395 GB, free: 10.81 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006315/0.48, allocations: 4.027 MB / 1.399 GB, free: 6.773 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/0.4821, allocations: 1.014 MB / 1.4 GB, free: 5.719 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.4864, allocations: 1.651 MB / 1.402 GB, free: 4.066 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.4888, allocations: 1.136 MB / 1.403 GB, free: 2.926 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004665/0.4892, allocations: 140 kB / 1.403 GB, free: 2.789 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.4923, allocations: 1.135 MB / 1.404 GB, free: 1.652 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007052/0.493, allocations: 470.2 kB / 1.404 GB, free: 1.191 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.4947, allocations: 0.859 MB / 1.405 GB, free: 336 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005096/0.4998, allocations: 2.655 MB / 1.408 GB, free: 13.66 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4998, allocations: 0 / 1.408 GB, free: 13.66 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4998, allocations: 0 / 1.408 GB, free: 13.66 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.773e-05/0.4999, allocations: 0 / 1.408 GB, free: 13.66 MB / 1.107 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.004748/0.5047, allocations: 2.003 MB / 1.41 GB, free: 11.62 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5047, allocations: 8.031 kB / 1.41 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002863/0.505, allocations: 147.8 kB / 1.41 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/0.5086, allocations: 0.5813 MB / 1.411 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.5115, allocations: 1.363 MB / 1.412 GB, free: 9.469 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.5117, allocations: 141.4 kB / 1.412 GB, free: 9.32 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.5119, allocations: 96 kB / 1.412 GB, free: 9.227 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.5151, allocations: 1.354 MB / 1.413 GB, free: 7.836 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.5151, allocations: 3.953 kB / 1.413 GB, free: 7.832 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.5152, allocations: 40 kB / 1.413 GB, free: 7.793 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/0.5153, allocations: 27.94 kB / 1.414 GB, free: 7.766 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/0.5192, allocations: 1.429 MB / 1.415 GB, free: 6.336 MB / 1.107 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.009162/0.5283, allocations: 5.292 MB / 1.42 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.5313, allocations: 1.028 MB / 1.421 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.5329, allocations: 0.5779 MB / 1.422 GB, free: 15.19 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/0.5333, allocations: 96.36 kB / 1.422 GB, free: 15.09 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/0.5352, allocations: 0.6813 MB / 1.422 GB, free: 14.4 MB / 1.123 GB Notification: Performance of pre-optimization done (n=60): time 2.846e-06/0.5352, allocations: 0 / 1.422 GB, free: 14.4 MB / 1.123 GB Notification: Performance of matching and sorting (n=60): time 0.005368/0.5405, allocations: 1.757 MB / 1.424 GB, free: 12.64 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.5406, allocations: 59.91 kB / 1.424 GB, free: 12.57 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.543, allocations: 1.421 MB / 1.426 GB, free: 11.14 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-05/0.5431, allocations: 37.7 kB / 1.426 GB, free: 11.09 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007059/0.5438, allocations: 0.6511 MB / 1.426 GB, free: 10.43 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.5441, allocations: 222.1 kB / 1.426 GB, free: 10.21 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/0.5444, allocations: 166.5 kB / 1.427 GB, free: 10.05 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5446, allocations: 337.9 kB / 1.427 GB, free: 9.711 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.5462, allocations: 0.5562 MB / 1.427 GB, free: 9.156 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.548, allocations: 0.7497 MB / 1.428 GB, free: 8.332 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.5513, allocations: 1.197 MB / 1.429 GB, free: 7.07 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.5513, allocations: 0 / 1.429 GB, free: 7.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00406/0.5553, allocations: 1.445 MB / 1.431 GB, free: 5.617 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.5554, allocations: 12.06 kB / 1.431 GB, free: 5.605 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.5554, allocations: 4 kB / 1.431 GB, free: 5.602 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.5554, allocations: 8 kB / 1.431 GB, free: 5.594 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.5567, allocations: 255.6 kB / 1.431 GB, free: 5.344 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/0.5568, allocations: 8 kB / 1.431 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.5584, allocations: 187.1 kB / 1.431 GB, free: 5.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.5586, allocations: 43.97 kB / 1.431 GB, free: 5.109 MB / 1.123 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.0008372/0.5594, allocations: 361.6 kB / 1.432 GB, free: 4.746 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.5598, allocations: 158.9 kB / 1.432 GB, free: 4.59 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004273/0.5641, allocations: 1.423 MB / 1.433 GB, free: 3.148 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.5641, allocations: 11.94 kB / 1.433 GB, free: 3.137 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.5641, allocations: 0 / 1.433 GB, free: 3.137 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0034/0.5675, allocations: 1.269 MB / 1.434 GB, free: 1.84 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007093/0.5746, allocations: 2.959 MB / 1.437 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.5747, allocations: 4 kB / 1.437 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.5759, allocations: 204 kB / 1.438 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.5759, allocations: 7.938 kB / 1.438 GB, free: 14.58 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.576, allocations: 23.98 kB / 1.438 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.576, allocations: 11.98 kB / 1.438 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.576, allocations: 7.938 kB / 1.438 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005973/0.5819, allocations: 2.245 MB / 1.44 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009004/0.5828, allocations: 290.7 kB / 1.44 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003798/0.5832, allocations: 12.09 kB / 1.44 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.5847, allocations: 119.8 kB / 1.44 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.5848, allocations: 52.34 kB / 1.44 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5849, allocations: 43.97 kB / 1.44 GB, free: 11.74 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001778/0.5867, allocations: 0.9988 MB / 1.441 GB, free: 10.74 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5867, allocations: 0 / 1.441 GB, free: 10.74 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001514/0.5882, allocations: 467 kB / 1.442 GB, free: 10.29 MB / 1.139 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.006862/0.595, allocations: 3.118 MB / 1.445 GB, free: 7.117 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003682/0.5987, allocations: 1.246 MB / 1.446 GB, free: 5.875 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.5987, allocations: 4 kB / 1.446 GB, free: 5.871 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.6005, allocations: 0.6281 MB / 1.447 GB, free: 5.242 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/0.6042, allocations: 0.7689 MB / 1.447 GB, free: 4.492 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/0.6293, allocations: 12.38 MB / 1.459 GB, free: 7.812 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.6304, allocations: 1.225 MB / 1.461 GB, free: 6.555 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001345/0.6317, allocations: 311.3 kB / 1.461 GB, free: 6.25 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000945/0.6327, allocations: 0.5617 MB / 1.461 GB, free: 5.688 MB / 1.154 GB Notification: Performance of SimCode: time 7.51e-07/0.6327, allocations: 7.938 kB / 1.461 GB, free: 5.68 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09739/0.7301, allocations: 43.35 MB / 1.504 GB, free: 10.87 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.07, allocations: 13.7 kB / 1.504 GB, free: 10.86 MB / 1.201 GB " [Timeout remaining time 285] (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/jenkins1/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: 22.343220883980393]