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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007898/0.007898, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001572/0.001572, allocations: 197.4 kB / 16.68 MB, free: 5.965 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001975, allocations: 72.25 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3793, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002859/0.3822, allocations: 1.521 MB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.3835, allocations: 0.7639 MB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.3836, allocations: 0 / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.3837, allocations: 11.92 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.3838, allocations: 11.88 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.3843, allocations: 98.02 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.3844, allocations: 55.72 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3845, allocations: 11.98 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3846, allocations: 27.86 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.3847, allocations: 23.92 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3847, allocations: 4 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.3849, allocations: 67.92 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.3849, allocations: 7.938 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.385, allocations: 27.86 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.3852, allocations: 104 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3852, allocations: 0 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3852, allocations: 0 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.3852, allocations: 4 kB / 1.21 GB, free: 7.367 MB / 0.9669 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.0005153/0.3857, allocations: 375.2 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3858, allocations: 12.62 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.3858, allocations: 34.75 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.3861, allocations: 28.8 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3863, allocations: 168.3 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.3863, allocations: 384 / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3863, allocations: 12.38 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.3866, allocations: 81.75 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3866, allocations: 4 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3866, allocations: 0 / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3866, allocations: 0 / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.3869, allocations: 71.89 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.3874, allocations: 320.8 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.3877, allocations: 66.64 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3879, allocations: 44.83 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3879, allocations: 0 / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3879, allocations: 34.55 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3879, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005486/0.3885, allocations: 145.5 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.3885, allocations: 51.41 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3886, allocations: 121.7 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3886, allocations: 25.7 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.3887, allocations: 92.12 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3887, allocations: 15.73 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.3888, allocations: 25.7 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3889, allocations: 318.8 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3891, allocations: 31.97 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3892, allocations: 35.97 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.3894, allocations: 72.75 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3895, allocations: 0 / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003202/0.3898, allocations: 97.62 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3898, allocations: 4 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3898, allocations: 11.92 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3898, allocations: 0 / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.39, allocations: 19.98 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.39, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.3901, allocations: 7.984 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3901, allocations: 7.984 kB / 1.212 GB, free: 4.844 MB / 0.9669 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 8.061e-05/0.3902, allocations: 109.8 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.3902, allocations: 8.234 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.3903, allocations: 11.91 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3903, allocations: 7.984 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3903, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3903, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.3905, allocations: 193.5 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3905, allocations: 0 / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.3907, allocations: 15.97 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3907, allocations: 0 / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3907, allocations: 4 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3907, allocations: 3.984 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3907, allocations: 4 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.3911, allocations: 203.3 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.3911, allocations: 85.09 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3912, allocations: 3.938 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3913, allocations: 4 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.3913, allocations: 11.98 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3913, allocations: 0 / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.3914, allocations: 91.27 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3914, allocations: 0 / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002741/0.3917, allocations: 32 kB / 1.213 GB, free: 3.969 MB / 0.9669 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.0007276/0.3924, allocations: 0.759 MB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.3928, allocations: 75.92 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3928, allocations: 0 / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3929, allocations: 43.91 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3932, allocations: 8 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.3938, allocations: 196.8 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3941, allocations: 0.6846 MB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.581e-05/0.3942, allocations: 19.98 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.3942, allocations: 27.42 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3942, allocations: 0 / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.4128, allocations: 2.176 MB / 1.217 GB, free: 8 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.06, allocations: 8 kB / 1.217 GB, free: 0 / 0.9669 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches