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.001447/0.001447, allocations: 116.1 kB / 17.17 MB, free: 6 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.001585/0.001585, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.762/2.762, allocations: 0.49 GB / 0.7923 GB, free: 1.461 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.002118/0.002118, allocations: 72.17 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8545, allocations: 176.1 MB / 1.321 GB, free: 24.81 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002166/0.8567, allocations: 1.566 MB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.8577, allocations: 0.838 MB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.8577, allocations: 2.75 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.8578, allocations: 7.875 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.8578, allocations: 17.81 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.8581, allocations: 99.86 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.8582, allocations: 56.17 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.8583, allocations: 10.06 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.8584, allocations: 36.86 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.8585, allocations: 19.38 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.8585, allocations: 5.188 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.8586, allocations: 82.53 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.8586, allocations: 7.938 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.8586, allocations: 23.77 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.8588, allocations: 105.9 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.8588, allocations: 2.531 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8588, allocations: 0 / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8588, allocations: 0 / 1.324 GB, free: 22.92 MB / 1.061 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.0003638/0.8592, allocations: 385.2 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.8592, allocations: 18.83 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.776e-05/0.8592, allocations: 4.188 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.873e-05/0.8592, allocations: 34.08 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.8597, allocations: 48.05 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.8599, allocations: 190.9 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.8599, allocations: 384 / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.8599, allocations: 7.281 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.8601, allocations: 80.67 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.8601, allocations: 3.938 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.8601, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8601, allocations: 2.812 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.8604, allocations: 62.2 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.8607, allocations: 324.5 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.861, allocations: 72.5 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.8611, allocations: 45.64 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.8611, allocations: 3.984 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.8611, allocations: 33.19 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.8611, allocations: 0 / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004816/0.8616, allocations: 142 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.8616, allocations: 51.41 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.8617, allocations: 123.4 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.8617, allocations: 25.7 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.8617, allocations: 94.34 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.8618, allocations: 7.906 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.8618, allocations: 22.83 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.8618, allocations: 325.1 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.862, allocations: 34.8 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.8621, allocations: 34.53 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.8623, allocations: 61.95 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8623, allocations: 4 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002857/0.8626, allocations: 105.9 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.8626, allocations: 5.281 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.8626, allocations: 0 / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8626, allocations: 2.656 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.8628, allocations: 16.97 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.8628, allocations: 4 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.8628, allocations: 5.766 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.8629, allocations: 6.531 kB / 1.327 GB, free: 20.98 MB / 1.061 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 4.894e-05/0.8629, allocations: 119.8 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.8629, allocations: 2.531 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.863, allocations: 14.41 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.863, allocations: 2.594 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.863, allocations: 7.938 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.863, allocations: 0 / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.8631, allocations: 195 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8631, allocations: 0 / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.8632, allocations: 15.52 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.8632, allocations: 2.75 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.8633, allocations: 7.359 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8633, allocations: 3.984 kB / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8633, allocations: 0 / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.8636, allocations: 205.5 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.8636, allocations: 88.94 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.8636, allocations: 3.375 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.8637, allocations: 5.875 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.8637, allocations: 7.094 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.8638, allocations: 2.719 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.8638, allocations: 101.1 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8638, allocations: 0 / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002573/0.864, allocations: 25.03 kB / 1.327 GB, free: 20.26 MB / 1.061 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.0005219/0.8646, allocations: 0.7616 MB / 1.328 GB, free: 19.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.8649, allocations: 72.45 kB / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8649, allocations: 0 / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.865, allocations: 38.47 kB / 1.328 GB, free: 19.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.8653, allocations: 8.906 kB / 1.328 GB, free: 19.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.8669, allocations: 1.476 MB / 1.33 GB, free: 18.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.867, allocations: 0.6888 MB / 1.33 GB, free: 17.56 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.986e-05/0.8671, allocations: 17.23 kB / 1.33 GB, free: 17.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.8672, allocations: 23.22 kB / 1.33 GB, free: 17.54 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.8672, allocations: 0 / 1.33 GB, free: 17.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.8863, allocations: 2.245 MB / 1.333 GB, free: 17.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.929, allocations: 6.953 kB / 1.333 GB, free: 17.09 MB / 1.061 GB " [Timeout remaining time 291] (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: 14.991714302974287]