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.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.001818/0.001818, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002308/0.002308, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7715 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="cs",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.002008/0.002008, allocations: 67.64 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3688, allocations: 170 MB / 1.284 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003228/0.372, allocations: 1.582 MB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3735, allocations: 0.8394 MB / 1.287 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.3736, allocations: 3.938 kB / 1.287 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.3736, allocations: 7.922 kB / 1.287 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.3737, allocations: 11.88 kB / 1.287 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.3741, allocations: 95.64 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3744, allocations: 67.7 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3745, allocations: 4 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.3747, allocations: 35.92 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.3747, allocations: 23.91 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3748, allocations: 7.938 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.3749, allocations: 71.88 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.375, allocations: 11.94 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.375, allocations: 31.84 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3752, allocations: 103.2 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3753, allocations: 0 / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.524e-06/0.3753, allocations: 0 / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.3753, allocations: 4 kB / 1.287 GB, free: 8.875 MB / 0.9825 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.0005746/0.3758, allocations: 309.9 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.3759, allocations: 8.031 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.951e-05/0.3759, allocations: 192 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.3759, allocations: 34.75 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.3764, allocations: 44.84 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.3768, allocations: 138.4 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3768, allocations: 384 / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.3768, allocations: 4.375 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.3771, allocations: 85.5 kB / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3771, allocations: 0 / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3771, allocations: 0 / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3771, allocations: 4 kB / 1.288 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.3774, allocations: 71.88 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.3779, allocations: 287.9 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.3782, allocations: 82.45 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.3783, allocations: 36.92 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3784, allocations: 4 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3784, allocations: 30.56 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3784, allocations: 0 / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005615/0.379, allocations: 137.6 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.379, allocations: 51.41 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3791, allocations: 129.2 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3791, allocations: 25.7 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.3792, allocations: 88.14 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.3792, allocations: 23.83 kB / 1.289 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.3793, allocations: 17.7 kB / 1.289 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3794, allocations: 322.7 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3796, allocations: 35.97 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3797, allocations: 31.97 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.38, allocations: 68.81 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.38, allocations: 0 / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003233/0.3803, allocations: 101.6 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3803, allocations: 4 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3803, allocations: 4 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3803, allocations: 3.938 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3805, allocations: 19.97 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3805, allocations: 3.938 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.3806, allocations: 11.94 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3806, allocations: 0 / 1.289 GB, free: 6.508 MB / 0.9825 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.000106/0.3807, allocations: 117.8 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3807, allocations: 8 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.3808, allocations: 11.98 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3808, allocations: 4 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3808, allocations: 0 / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3808, allocations: 0 / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.381, allocations: 172.5 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.381, allocations: 4 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3811, allocations: 15.97 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3811, allocations: 4 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3812, allocations: 4 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3812, allocations: 0 / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3812, allocations: 0 / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.3816, allocations: 199.4 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.3816, allocations: 15.95 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.3816, allocations: 384 / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3817, allocations: 7.984 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3818, allocations: 4 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3818, allocations: 3.984 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.3819, allocations: 95.27 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3819, allocations: 0 / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003088/0.3822, allocations: 31.88 kB / 1.29 GB, free: 5.75 MB / 0.9825 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.000854/0.383, allocations: 0.7552 MB / 1.291 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.3834, allocations: 79.88 kB / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3834, allocations: 0 / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3836, allocations: 39.95 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.3839, allocations: 4 kB / 1.291 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.3861, allocations: 1.487 MB / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3865, allocations: 0.6807 MB / 1.293 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.861e-05/0.3866, allocations: 15.98 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.3866, allocations: 35.34 kB / 1.293 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.3866, allocations: 0 / 1.293 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.4105, allocations: 2.35 MB / 1.295 GB, free: 340 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.48, allocations: 9.625 kB / 1.295 GB, free: 332 kB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=1.44 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.3867184620467]