Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001521/0.001521, allocations: 108.4 kB / 16.45 MB, free: 6.035 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.001551/0.001551, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.539/1.539, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] 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.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 75.88 kB / 1.056 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9489/0.951, allocations: 160.7 MB / 1.213 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003115/0.9541, allocations: 1.552 MB / 1.214 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.9555, allocations: 0.7577 MB / 1.215 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.9555, allocations: 0.9375 kB / 1.215 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.9556, allocations: 7.922 kB / 1.215 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.9556, allocations: 13.81 kB / 1.215 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.9561, allocations: 92.44 kB / 1.215 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.9562, allocations: 57.84 kB / 1.215 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.9563, allocations: 8.141 kB / 1.215 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.9564, allocations: 21.92 kB / 1.215 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.9565, allocations: 25.42 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.9565, allocations: 3.062 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.9567, allocations: 71.78 kB / 1.215 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.9567, allocations: 12.89 kB / 1.215 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.9567, allocations: 27 kB / 1.216 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.9569, allocations: 102 kB / 1.216 GB, free: 1.797 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.9569, allocations: 0 / 1.216 GB, free: 1.797 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9569, allocations: 0 / 1.216 GB, free: 1.797 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.957, allocations: 1.219 kB / 1.216 GB, free: 1.797 MB / 0.92 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.0005334/0.9575, allocations: 383.6 kB / 1.216 GB, free: 1.398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.9575, allocations: 10.03 kB / 1.216 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.9576, allocations: 35.59 kB / 1.216 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.9579, allocations: 26.88 kB / 1.216 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.958, allocations: 175.1 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.958, allocations: 1.469 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.958, allocations: 2.625 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.9583, allocations: 84.5 kB / 1.216 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9583, allocations: 7.938 kB / 1.216 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.9583, allocations: 0 / 1.216 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.9583, allocations: 5.203 kB / 1.216 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.9586, allocations: 62.27 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.9592, allocations: 321.6 kB / 1.217 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.9594, allocations: 66.98 kB / 1.217 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.9595, allocations: 39.33 kB / 1.217 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.9596, allocations: 4.656 kB / 1.217 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.9596, allocations: 35.38 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9596, allocations: 0 / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005277/0.9601, allocations: 135.1 kB / 1.217 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.9602, allocations: 56.5 kB / 1.217 GB, free: 440 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.9603, allocations: 116.6 kB / 1.217 GB, free: 328 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.9603, allocations: 25.7 kB / 1.217 GB, free: 296 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.9603, allocations: 98.92 kB / 1.217 GB, free: 196 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.9604, allocations: 9.203 kB / 1.217 GB, free: 188 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.9604, allocations: 21.86 kB / 1.217 GB, free: 164 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.9606, allocations: 320.9 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.9607, allocations: 32.69 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.9608, allocations: 41.47 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.961, allocations: 61.12 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.961, allocations: 0 / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/0.9614, allocations: 111.2 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9614, allocations: 4.969 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.9614, allocations: 5.25 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9614, allocations: 0 / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.9615, allocations: 13.58 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9615, allocations: 5.188 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-05/0.9616, allocations: 8.484 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.9616, allocations: 5.188 kB / 1.218 GB, free: 15.68 MB / 0.9356 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.0001021/0.9617, allocations: 128 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.9618, allocations: 7.484 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.9618, allocations: 10.25 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.9618, allocations: 0 / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.9618, allocations: 1.062 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.9618, allocations: 0 / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.962, allocations: 191 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.962, allocations: 5.156 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.9622, allocations: 17.94 kB / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9622, allocations: 0 / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.9622, allocations: 2.156 kB / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9622, allocations: 0 / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9622, allocations: 0 / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.9626, allocations: 206.6 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.9626, allocations: 82.22 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.9626, allocations: 13 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.9628, allocations: 4.469 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.9628, allocations: 5.109 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.9628, allocations: 2.062 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.9629, allocations: 96.95 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9629, allocations: 4 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002781/0.9631, allocations: 25.38 kB / 1.219 GB, free: 14.91 MB / 0.9356 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.0007574/0.9639, allocations: 0.7603 MB / 1.219 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.9642, allocations: 73.84 kB / 1.219 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9642, allocations: 1.281 kB / 1.219 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.9644, allocations: 40.73 kB / 1.219 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.9647, allocations: 1.781 kB / 1.219 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.9653, allocations: 211.1 kB / 1.22 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.9656, allocations: 0.6817 MB / 1.22 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.958e-05/0.9657, allocations: 20.25 kB / 1.22 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.9658, allocations: 19.05 kB / 1.22 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.9658, allocations: 0 / 1.22 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.9912, allocations: 2.163 MB / 1.222 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/9.019, allocations: 12.66 kB / 1.222 GB, free: 12.04 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.023410725872964]