Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004997/0.004997, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.00111/0.00111, allocations: 187.4 kB / 16.67 MB, free: 5.918 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437 MB / 0.7105 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.91 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9773/0.9792, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07497/1.054, allocations: 74.77 MB / 1.239 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03578/1.09, allocations: 21.48 MB / 1.26 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005295/1.095, allocations: 99.5 kB / 1.26 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007587/1.103, allocations: 2.194 MB / 1.262 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/1.114, allocations: 3.322 MB / 1.266 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006526/1.121, allocations: 2.253 MB / 1.268 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01297/1.134, allocations: 8.096 MB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003709/1.137, allocations: 2.009 MB / 1.278 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005664/1.143, allocations: 2.221 MB / 1.28 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/1.146, allocations: 1.583 MB / 1.281 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006583/1.147, allocations: 223.9 kB / 1.282 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004935/1.152, allocations: 2.004 MB / 1.284 GB, free: 11.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009174/1.153, allocations: 0.7865 MB / 1.284 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001928/1.155, allocations: 1.411 MB / 1.286 GB, free: 8.969 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007451/1.162, allocations: 4.444 MB / 1.29 GB, free: 4.512 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.162, allocations: 4 kB / 1.29 GB, free: 4.508 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/1.162, allocations: 0 / 1.29 GB, free: 4.508 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.22e-05/1.162, allocations: 0 / 1.29 GB, free: 4.508 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.005716/1.168, allocations: 3.21 MB / 1.293 GB, free: 1.227 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.168, allocations: 16.88 kB / 1.293 GB, free: 1.211 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/1.168, allocations: 189.9 kB / 1.293 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006409/1.175, allocations: 1.148 MB / 1.294 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005401/1.18, allocations: 2.995 MB / 1.297 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/1.18, allocations: 152 kB / 1.298 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/1.18, allocations: 132 kB / 1.298 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/1.185, allocations: 1.932 MB / 1.3 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/1.185, allocations: 0 / 1.3 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/1.185, allocations: 52 kB / 1.3 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/1.185, allocations: 32 kB / 1.3 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005579/1.19, allocations: 2.058 MB / 1.302 GB, free: 8.359 MB / 1.029 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.01388/1.204, allocations: 8.503 MB / 1.31 GB, free: 15.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004797/1.209, allocations: 1.624 MB / 1.312 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/1.211, allocations: 0.7324 MB / 1.312 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00609/1.217, allocations: 3.855 MB / 1.316 GB, free: 8.852 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/1.217, allocations: 43.06 kB / 1.316 GB, free: 8.801 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007805/1.218, allocations: 118.8 kB / 1.316 GB, free: 8.684 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 3.186e-06/1.218, allocations: 0 / 1.316 GB, free: 8.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.0124/1.231, allocations: 3.062 MB / 1.319 GB, free: 5.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.231, allocations: 63.91 kB / 1.319 GB, free: 5.516 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/1.235, allocations: 2.657 MB / 1.322 GB, free: 2.844 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/1.235, allocations: 37.7 kB / 1.322 GB, free: 2.801 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009377/1.236, allocations: 1.107 MB / 1.323 GB, free: 1.684 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/1.236, allocations: 209.1 kB / 1.323 GB, free: 1.477 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005202/1.237, allocations: 330.5 kB / 1.323 GB, free: 1.145 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.237, allocations: 305.1 kB / 1.324 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/1.239, allocations: 0.9167 MB / 1.325 GB, free: 15.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/1.242, allocations: 1.344 MB / 1.326 GB, free: 14.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004583/1.246, allocations: 2.002 MB / 1.328 GB, free: 12.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.246, allocations: 4 kB / 1.328 GB, free: 12.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007323/1.254, allocations: 2.732 MB / 1.331 GB, free: 9.516 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/1.254, allocations: 8 kB / 1.331 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/1.254, allocations: 12.62 kB / 1.331 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/1.255, allocations: 0.5198 MB / 1.331 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/1.257, allocations: 359.5 kB / 1.331 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/1.259, allocations: 1.13 MB / 1.333 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/1.262, allocations: 216.4 kB / 1.333 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.262, allocations: 72.03 kB / 1.333 GB, free: 7.184 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001042/1.263, allocations: 0.5565 MB / 1.333 GB, free: 6.617 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/1.263, allocations: 240.8 kB / 1.334 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006093/1.269, allocations: 2.102 MB / 1.336 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.269, allocations: 8 kB / 1.336 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.269, allocations: 0 / 1.336 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.269, allocations: 7.922 kB / 1.336 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009095/1.279, allocations: 4.099 MB / 1.34 GB, free: 40 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.279, allocations: 7.984 kB / 1.34 GB, free: 32 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1.28, allocations: 204.1 kB / 1.34 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/1.281, allocations: 0.4963 MB / 1.34 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.987e-05/1.281, allocations: 27.97 kB / 1.34 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/1.283, allocations: 1.103 MB / 1.341 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.283, allocations: 4 kB / 1.341 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006929/1.29, allocations: 2.177 MB / 1.344 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.291, allocations: 0.4898 MB / 1.344 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/1.292, allocations: 20 kB / 1.344 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.293, allocations: 163.8 kB / 1.344 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.293, allocations: 48.38 kB / 1.344 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.77e-05/1.294, allocations: 51.95 kB / 1.344 GB, free: 11.15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002794/1.296, allocations: 1.835 MB / 1.346 GB, free: 9.312 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.11e-07/1.296, allocations: 0 / 1.346 GB, free: 9.312 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002126/1.298, allocations: 0.7334 MB / 1.347 GB, free: 8.578 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008308/1.307, allocations: 3.324 MB / 1.35 GB, free: 5.199 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005674/1.312, allocations: 2.001 MB / 1.352 GB, free: 3.195 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.313, allocations: 1.688 kB / 1.352 GB, free: 3.195 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002718/1.315, allocations: 0.8468 MB / 1.353 GB, free: 2.352 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004882/1.32, allocations: 1.15 MB / 1.354 GB, free: 1.227 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03787/1.358, allocations: 19.93 MB / 1.373 GB, free: 12.72 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.359, allocations: 1.629 MB / 1.375 GB, free: 11.06 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001905/1.361, allocations: 465.7 kB / 1.376 GB, free: 10.61 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/1.363, allocations: 0.9835 MB / 1.376 GB, free: 9.625 MB / 1.107 GB Notification: Performance of SimCode: time 5.81e-07/1.363, allocations: 0 / 1.376 GB, free: 9.625 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/1.483, allocations: 66.96 MB / 1.442 GB, free: 7.355 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.05, allocations: 6.188 kB / 1.442 GB, free: 7.352 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches