Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 71.89 kB / 1.134 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.882, allocations: 173.9 MB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003116/0.8851, allocations: 1.546 MB / 1.305 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.8864, allocations: 0.7604 MB / 1.306 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.8865, allocations: 4 kB / 1.306 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.8865, allocations: 5.109 kB / 1.306 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.045e-05/0.8866, allocations: 16.69 kB / 1.306 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.8871, allocations: 87.36 kB / 1.306 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.8872, allocations: 47.3 kB / 1.306 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.8873, allocations: 9.625 kB / 1.306 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.8874, allocations: 29.14 kB / 1.306 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.8875, allocations: 34.33 kB / 1.306 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.8875, allocations: 3.406 kB / 1.306 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.8877, allocations: 60.97 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.8877, allocations: 7.719 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.8878, allocations: 31.3 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.888, allocations: 97.67 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.888, allocations: 1.688 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.888, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.888, allocations: 0 / 1.307 GB, free: 13.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005335/0.8885, allocations: 377.6 kB / 1.307 GB, free: 13.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.8886, allocations: 9.344 kB / 1.307 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.8886, allocations: 35.55 kB / 1.307 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.8889, allocations: 27.02 kB / 1.307 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.8891, allocations: 185.4 kB / 1.307 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8891, allocations: 5.25 kB / 1.307 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.8891, allocations: 2.688 kB / 1.307 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.8894, allocations: 86.78 kB / 1.307 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8894, allocations: 0 / 1.307 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.8894, allocations: 1.094 kB / 1.307 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.8894, allocations: 0 / 1.307 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.8897, allocations: 69.27 kB / 1.307 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.8902, allocations: 318.8 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.8905, allocations: 70.52 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.8906, allocations: 42.31 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.8907, allocations: 1.375 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.8907, allocations: 31.27 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.8907, allocations: 1.062 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005877/0.8913, allocations: 143.2 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.8913, allocations: 53.17 kB / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.8914, allocations: 114.9 kB / 1.308 GB, free: 12.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.8915, allocations: 29.7 kB / 1.308 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.8915, allocations: 88.59 kB / 1.308 GB, free: 12.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.8916, allocations: 13.75 kB / 1.308 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.8916, allocations: 21.53 kB / 1.308 GB, free: 12.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8917, allocations: 318.9 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.8919, allocations: 35.67 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.892, allocations: 32.86 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.8922, allocations: 61.94 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8922, allocations: 0 / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003114/0.8926, allocations: 109.6 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8926, allocations: 5.078 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8926, allocations: 1.312 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8926, allocations: 4.031 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.8927, allocations: 16.31 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.8927, allocations: 0 / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.8928, allocations: 24.31 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.8928, allocations: 6.562 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.000101/0.8929, allocations: 121.5 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.893, allocations: 2.922 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.893, allocations: 10.83 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.893, allocations: 2.141 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.893, allocations: 0 / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.893, allocations: 4 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.8933, allocations: 196.4 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8933, allocations: 0 / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.8934, allocations: 15.61 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8934, allocations: 1.5 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8934, allocations: 7.141 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8934, allocations: 0.7969 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8934, allocations: 1.438 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.8938, allocations: 207.7 kB / 1.309 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.8938, allocations: 83.11 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.8938, allocations: 1.922 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.894, allocations: 7.359 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.894, allocations: 6.688 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.894, allocations: 8.031 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.8941, allocations: 91.23 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8941, allocations: 1.062 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002969/0.8944, allocations: 29.23 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0008175/0.8952, allocations: 0.7597 MB / 1.31 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.8955, allocations: 72.56 kB / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8955, allocations: 0 / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.8957, allocations: 46.09 kB / 1.311 GB, free: 10.49 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.896, allocations: 6.109 kB / 1.311 GB, free: 10.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.8966, allocations: 212.5 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.8969, allocations: 0.6835 MB / 1.311 GB, free: 9.605 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.761e-05/0.897, allocations: 16.81 kB / 1.311 GB, free: 9.598 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.897, allocations: 19.12 kB / 1.311 GB, free: 9.586 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.897, allocations: 5.375 kB / 1.311 GB, free: 9.582 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.9219, allocations: 2.165 MB / 1.314 GB, free: 8.852 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.835, allocations: 2.844 kB / 1.314 GB, free: 8.852 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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: 15.005398303736001]