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.001329/0.001329, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00157/0.00157, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.796/2.796, allocations: 476.8 MB / 0.7715 GB, free: 3.887 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.002048/0.002048, allocations: 63.67 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3377, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003936/0.3417, allocations: 1.547 MB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.3439, allocations: 0.7654 MB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.3439, allocations: 0 / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.619e-05/0.344, allocations: 7.875 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.3441, allocations: 23.78 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.3448, allocations: 103.7 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3449, allocations: 51.73 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3451, allocations: 15.97 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.3453, allocations: 27.92 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.3454, allocations: 23.86 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.3454, allocations: 4 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.3456, allocations: 75.94 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.3457, allocations: 11.92 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.3457, allocations: 19.94 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.346, allocations: 113 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.346, allocations: 0 / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.628e-06/0.3461, allocations: 3.984 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3461, allocations: 0 / 1.287 GB, free: 7.844 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.0006498/0.3467, allocations: 297.9 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.3468, allocations: 12.03 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.278e-05/0.3468, allocations: 192 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.3468, allocations: 34.75 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007303/0.3476, allocations: 48.88 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.3479, allocations: 138.3 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3479, allocations: 12.31 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.3479, allocations: 384 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.3483, allocations: 85.56 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3483, allocations: 0 / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3483, allocations: 7.938 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3483, allocations: 0 / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.3488, allocations: 59.95 kB / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.3495, allocations: 275.9 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.3499, allocations: 78.53 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.3502, allocations: 36.92 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3502, allocations: 3.938 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.3502, allocations: 34.56 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.3502, allocations: 0 / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0008531/0.3511, allocations: 137.6 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.3512, allocations: 55.39 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.3513, allocations: 125.5 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.3514, allocations: 25.7 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.3514, allocations: 88.12 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.3515, allocations: 19.84 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/0.3516, allocations: 17.7 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3517, allocations: 322.8 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.352, allocations: 39.91 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.3522, allocations: 35.91 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.3526, allocations: 65.08 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3526, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005655/0.3531, allocations: 109.6 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3532, allocations: 6.188 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3532, allocations: 0 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3532, allocations: 0 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.3534, allocations: 15.98 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3534, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3535, allocations: 7.984 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.3536, allocations: 11.98 kB / 1.289 GB, free: 5.492 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.000137/0.3537, allocations: 117.7 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.3538, allocations: 11.89 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.3538, allocations: 15.98 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3538, allocations: 0 / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3538, allocations: 0 / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3538, allocations: 0 / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.3542, allocations: 152.7 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3542, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3543, allocations: 19.97 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3544, allocations: 0 / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.3544, allocations: 8 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3544, allocations: 0 / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3544, allocations: 3.984 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.355, allocations: 203.4 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.355, allocations: 7.953 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.355, allocations: 7.984 kB / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3552, allocations: 7.938 kB / 1.289 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.3553, allocations: 3.984 kB / 1.289 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3553, allocations: 4 kB / 1.289 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001061/0.3554, allocations: 95.27 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3554, allocations: 0 / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005/0.3559, allocations: 31.88 kB / 1.29 GB, free: 4.742 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.001052/0.3569, allocations: 0.7591 MB / 1.29 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.3573, allocations: 79.86 kB / 1.29 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3573, allocations: 0 / 1.29 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.3575, allocations: 35.97 kB / 1.29 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3577, allocations: 10 kB / 1.29 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.3598, allocations: 1.488 MB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.823e-05/0.3599, allocations: 63.34 kB / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.831e-05/0.36, allocations: 28 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.3601, allocations: 27.36 kB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3601, allocations: 0 / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.3834, allocations: 2.383 MB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 3.984 kB / 1.294 GB, free: 15.9 MB / 0.9981 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.45622419693973]