Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00152/0.00152, allocations: 97.31 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.00155/0.00155, allocations: 215.2 kB / 23.03 MB, free: 4.926 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.065/3.065, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_12_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.002/0.002, allocations: 66 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3553, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002818/0.3581, allocations: 1.55 MB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3594, allocations: 0.7636 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.3595, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.3595, allocations: 7.875 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.3596, allocations: 19.8 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.36, allocations: 110.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3602, allocations: 59.72 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3603, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3605, allocations: 39.91 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.3605, allocations: 23.86 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3605, allocations: 4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.3607, allocations: 75.92 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.3607, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.3608, allocations: 19.88 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.361, allocations: 111.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.361, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.361, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.361, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 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.0005117/0.3615, allocations: 305.9 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3615, allocations: 12.03 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.279e-05/0.3615, allocations: 192 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.3616, allocations: 34.75 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.3621, allocations: 44.83 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3623, allocations: 134.4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3623, allocations: 8.375 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.3623, allocations: 384 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.3626, allocations: 81.56 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3626, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3626, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3626, allocations: 7.922 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.3629, allocations: 67.89 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.3634, allocations: 279.9 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.3636, allocations: 74.53 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3638, allocations: 36.92 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3638, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3638, allocations: 34.56 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3638, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005479/0.3644, allocations: 141.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3644, allocations: 51.41 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3645, allocations: 121.8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3645, allocations: 29.7 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.3646, allocations: 96.12 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.3646, allocations: 19.83 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.3647, allocations: 17.7 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3648, allocations: 322.8 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3649, allocations: 31.97 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3651, allocations: 31.91 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.3653, allocations: 72.75 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3653, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003129/0.3656, allocations: 105.6 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3656, allocations: 5.875 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3656, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3657, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3658, allocations: 15.98 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3658, allocations: 3.984 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.3659, allocations: 7.953 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3659, allocations: 7.984 kB / 1.331 GB, free: 12.34 MB / 1.029 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.939e-05/0.366, allocations: 114.3 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.366, allocations: 4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.3661, allocations: 12 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3661, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3661, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3661, allocations: 3.938 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3663, allocations: 160.6 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3663, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3664, allocations: 15.97 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3664, allocations: 4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3664, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/0.3664, allocations: 7.984 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3664, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.3668, allocations: 199.8 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.3668, allocations: 19.97 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.3668, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3669, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.367, allocations: 3.984 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.367, allocations: 12 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.3671, allocations: 96.39 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3671, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002682/0.3673, allocations: 35.8 kB / 1.332 GB, free: 11.58 MB / 1.029 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.0007633/0.3681, allocations: 0.7552 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.3684, allocations: 71.94 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3684, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3686, allocations: 39.91 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3688, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3708, allocations: 1.475 MB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.666e-05/0.3708, allocations: 71.33 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.171e-05/0.3709, allocations: 19.98 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.371, allocations: 23.42 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.371, allocations: 3.938 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.3941, allocations: 2.396 MB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.49, allocations: 7.484 kB / 1.337 GB, free: 6.75 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.89758184098173]