Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007782/0.0007782, 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.0007994/0.0007994, 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.8356/0.8356, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.756/1.756, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007e-05/1.148e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001626/0.001637, allocations: 1.541 MB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008104/0.002448, allocations: 0.7797 MB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.002504, allocations: 7.875 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.002535, allocations: 7.922 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.002591, allocations: 7.875 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.002887, allocations: 107.6 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.002984, allocations: 63.66 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.003069, allocations: 8 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.003172, allocations: 39.89 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.413e-05/0.003226, allocations: 19.92 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.003242, allocations: 4 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.003345, allocations: 75.86 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.003357, allocations: 4 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.003377, allocations: 19.92 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.00352, allocations: 115.7 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003521, allocations: 4 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003522, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.003526, allocations: 4 kB / 1.002 GB, free: 10.67 MB / 0.9636 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.0003058/0.003831, allocations: 309.9 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.003866, allocations: 8.75 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.003894, allocations: 38.75 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.004124, allocations: 36.89 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.004272, allocations: 143.7 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.00428, allocations: 8.359 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.004292, allocations: 4.375 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.004445, allocations: 74.2 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004453, allocations: 4.172 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.004464, allocations: 4.125 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004469, allocations: 4 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.004608, allocations: 71.94 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.004936, allocations: 279.9 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.005082, allocations: 78.41 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.005158, allocations: 32.94 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.005176, allocations: 8 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.005195, allocations: 34.55 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.005196, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003011/0.005497, allocations: 141.5 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.005522, allocations: 51.41 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.005587, allocations: 121.8 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.005598, allocations: 29.7 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.005634, allocations: 88.14 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.005652, allocations: 11.91 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.005681, allocations: 17.7 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.005751, allocations: 322.8 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.005818, allocations: 35.91 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-05/0.005878, allocations: 27.98 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.006001, allocations: 68.81 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006003, allocations: 0 / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001616/0.006164, allocations: 109.5 kB / 1.004 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.006176, allocations: 4 kB / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.006181, allocations: 8 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006193, allocations: 0 / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.006263, allocations: 15.97 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.006267, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.0063, allocations: 4 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.00631, allocations: 11.97 kB / 1.005 GB, free: 8.316 MB / 0.9636 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.0001722/0.006483, allocations: 113.8 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.006499, allocations: 7.891 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.006535, allocations: 12 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006537, allocations: 0 / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.006542, allocations: 3.984 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006544, allocations: 0 / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.006662, allocations: 160.6 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006663, allocations: 0 / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.006706, allocations: 15.98 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006707, allocations: 0 / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.006716, allocations: 8.25 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006716, allocations: 4 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.006717, allocations: 3.938 kB / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.006907, allocations: 207.4 kB / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-06/0.006915, allocations: 11.95 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.006928, allocations: 0 / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.006977, allocations: 7.984 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.007007, allocations: 4 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.007012, allocations: 8 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.007055, allocations: 102.2 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.007055, allocations: 0 / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001692/0.007224, allocations: 31.88 kB / 1.005 GB, free: 7.555 MB / 0.9636 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.0004276/0.007651, allocations: 0.7552 MB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.007823, allocations: 71.94 kB / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007824, allocations: 0 / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.007893, allocations: 39.97 kB / 1.006 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.008071, allocations: 7.922 kB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.009112, allocations: 1.454 MB / 1.007 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.009156, allocations: 83.52 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.665e-05/0.009203, allocations: 15.98 kB / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.009249, allocations: 24.48 kB / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.009249, allocations: 0 / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.02382, allocations: 2.902 MB / 1.01 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.319/6.343, allocations: 3.375 kB / 1.01 GB, free: 2.211 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.243537560105324]