Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) 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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",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.004068/0.004068, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001058/0.001058, allocations: 192 kB / 16.67 MB, free: 5.48 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.311/2.311, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 63.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.5923, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002385/0.5947, allocations: 1.535 MB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.5958, allocations: 0.7605 MB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.5958, allocations: 0 / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.5959, allocations: 3.938 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.5959, allocations: 15.86 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.5962, allocations: 91.64 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.917e-05/0.5963, allocations: 55.73 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.5964, allocations: 7.984 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.5965, allocations: 23.94 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.5965, allocations: 27.89 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.5966, allocations: 7.938 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.5967, allocations: 63.95 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.5967, allocations: 15.92 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.5968, allocations: 27.86 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.5969, allocations: 91.42 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5969, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5969, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.5969, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9512 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.0004291/0.5974, allocations: 383 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.5974, allocations: 8.031 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.5975, allocations: 38.75 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.5977, allocations: 28.86 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.5978, allocations: 172.3 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.5979, allocations: 384 / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.5979, allocations: 4.375 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.5981, allocations: 85.69 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5981, allocations: 3.984 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.5981, allocations: 4 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5981, allocations: 4 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.5984, allocations: 63.94 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.5988, allocations: 316.8 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.5991, allocations: 78.53 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.5992, allocations: 40.86 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.5992, allocations: 4 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.5993, allocations: 34.56 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5993, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0004802/0.5998, allocations: 133.6 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.5998, allocations: 51.41 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.5999, allocations: 122.2 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.5999, allocations: 29.7 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.6, allocations: 88.14 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.6, allocations: 11.83 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.6, allocations: 21.7 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6002, allocations: 330.7 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.6003, allocations: 31.91 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.6004, allocations: 35.98 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.6007, allocations: 68.8 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6007, allocations: 0 / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003001/0.601, allocations: 109.6 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.601, allocations: 4 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.601, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.601, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.6012, allocations: 19.97 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6012, allocations: 3.938 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.6012, allocations: 4 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.6013, allocations: 11.98 kB / 1.225 GB, free: 12.77 MB / 0.9512 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 7.35e-05/0.6013, allocations: 117.8 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.6014, allocations: 7.953 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.6014, allocations: 3.906 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6014, allocations: 7.984 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6014, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.6014, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.6016, allocations: 185.6 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.6016, allocations: 0 / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.6017, allocations: 19.98 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.6018, allocations: 0 / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.6018, allocations: 7.984 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.6018, allocations: 4 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6018, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.6021, allocations: 211.6 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.6022, allocations: 81.11 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.6022, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.6023, allocations: 7.984 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.6023, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.6024, allocations: 7.984 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.386e-05/0.6024, allocations: 99.27 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.6024, allocations: 0 / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002326/0.6027, allocations: 31.92 kB / 1.226 GB, free: 11.89 MB / 0.9512 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.0006623/0.6033, allocations: 0.7635 MB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.6036, allocations: 75.88 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.6036, allocations: 4 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.6038, allocations: 39.91 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.604, allocations: 1.875 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.6045, allocations: 222.1 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.6047, allocations: 0.6846 MB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.704e-05/0.6048, allocations: 15.98 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.6049, allocations: 23.42 kB / 1.228 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6049, allocations: 3.938 kB / 1.228 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3642/0.9691, allocations: 2.146 MB / 1.23 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.819, allocations: 12.47 kB / 1.23 GB, free: 7.918 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches