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.0009492/0.0009492, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001206/0.001206, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8757/0.8757, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.655/1.655, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.032e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001915/0.001936, allocations: 1.548 MB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.002808, allocations: 0.7789 MB / 0.9833 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.002861, allocations: 0 / 0.9833 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.002888, allocations: 7.922 kB / 0.9833 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.002944, allocations: 7.875 kB / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.003276, allocations: 115.5 kB / 0.9834 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.003373, allocations: 59.72 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.003461, allocations: 12 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.003616, allocations: 39.89 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.003665, allocations: 15.92 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.003678, allocations: 4 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.003785, allocations: 75.86 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.003796, allocations: 8 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.00382, allocations: 23.91 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.003969, allocations: 115.6 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.00397, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.41e-07/0.003971, allocations: 4 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003975, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 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.0003285/0.004303, allocations: 305.9 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.004339, allocations: 8.031 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.509e-05/0.004364, allocations: 30.75 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.004611, allocations: 52.83 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.004774, allocations: 129.7 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.004782, allocations: 384 / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.004793, allocations: 384 / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.004951, allocations: 82.2 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.004958, allocations: 192 / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.004968, allocations: 8.125 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004973, allocations: 4 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.005176, allocations: 71.81 kB / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.005494, allocations: 283.8 kB / 0.9847 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.005636, allocations: 78.47 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.749e-05/0.005703, allocations: 32.94 kB / 0.9848 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.005725, allocations: 7.938 kB / 0.9848 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.005744, allocations: 38.48 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.005745, allocations: 0 / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003156/0.006061, allocations: 137.6 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.006087, allocations: 55.41 kB / 0.985 GB, free: 14.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.006157, allocations: 129.1 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006168, allocations: 25.7 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.006202, allocations: 88.14 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.006219, allocations: 11.94 kB / 0.9852 GB, free: 14.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.00625, allocations: 17.7 kB / 0.9852 GB, free: 14.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.866e-05/0.006318, allocations: 322.8 kB / 0.9856 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.006386, allocations: 35.97 kB / 0.9856 GB, free: 13.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.006447, allocations: 31.98 kB / 0.9856 GB, free: 13.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.006574, allocations: 73 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006576, allocations: 0 / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001591/0.006735, allocations: 109.5 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.006746, allocations: 4 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.00675, allocations: 0 / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.006761, allocations: 4 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.006837, allocations: 15.97 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006842, allocations: 0 / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.006877, allocations: 8 kB / 0.9858 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.006888, allocations: 7.984 kB / 0.9858 GB, free: 13.39 MB / 0.948 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 5.466e-05/0.006943, allocations: 113.8 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.006962, allocations: 11.83 kB / 0.986 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.006998, allocations: 12 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007, allocations: 3.984 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.007003, allocations: 0 / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.007006, allocations: 0 / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.007238, allocations: 152.4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.007239, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.007281, allocations: 15.98 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007282, allocations: 0 / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.00729, allocations: 3.984 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007291, allocations: 0 / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007292, allocations: 3.938 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.007478, allocations: 211.4 kB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.007485, allocations: 7.953 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.007497, allocations: 7.938 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.007546, allocations: 7.984 kB / 0.9864 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.007573, allocations: 0 / 0.9864 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.007579, allocations: 11.92 kB / 0.9864 GB, free: 12.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.007612, allocations: 99.27 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007612, allocations: 0 / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001711/0.007783, allocations: 27.88 kB / 0.9865 GB, free: 12.64 MB / 0.948 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.0004082/0.008191, allocations: 0.7514 MB / 0.9872 GB, free: 11.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.00837, allocations: 71.88 kB / 0.9873 GB, free: 11.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008372, allocations: 4 kB / 0.9873 GB, free: 11.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/0.008441, allocations: 39.97 kB / 0.9873 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.008622, allocations: 11.97 kB / 0.9874 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.009682, allocations: 1.464 MB / 0.9888 GB, free: 10.19 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.009723, allocations: 67.33 kB / 0.9888 GB, free: 10.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.831e-05/0.009771, allocations: 20.03 kB / 0.9889 GB, free: 10.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.009817, allocations: 24.48 kB / 0.9889 GB, free: 10.06 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/0.009817, allocations: 0 / 0.9889 GB, free: 10.06 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.02352, allocations: 2.892 MB / 0.9917 GB, free: 7.309 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.327/6.35, allocations: 7.891 kB / 0.9917 GB, free: 7.305 MB / 0.948 GB " [Timeout remaining time 294] (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/jenkins/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: 10.202770964242518]