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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 67.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7498, allocations: 168.7 MB / 1.271 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002264/0.752, allocations: 1.568 MB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009584/0.753, allocations: 0.7736 MB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.753, allocations: 0 / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.753, allocations: 10.19 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.776e-05/0.7531, allocations: 11.91 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.7534, allocations: 91.19 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.891e-05/0.7535, allocations: 59.7 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.588e-05/0.7536, allocations: 5.172 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.7536, allocations: 25.89 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.7537, allocations: 21.45 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.7537, allocations: 4.156 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.7538, allocations: 69.27 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.7539, allocations: 11.02 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.7539, allocations: 24.92 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.754, allocations: 105.7 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.754, allocations: 0 / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.754, allocations: 1.094 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.754, allocations: 0 / 1.274 GB, free: 5.781 MB / 0.9981 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.0003426/0.7544, allocations: 376.6 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.7544, allocations: 9.656 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.007e-05/0.7544, allocations: 35.5 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.7547, allocations: 30.97 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.973e-05/0.7548, allocations: 175.8 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.7548, allocations: 1.344 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.7548, allocations: 1.969 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.755, allocations: 81.8 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.755, allocations: 0 / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.755, allocations: 0.875 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7551, allocations: 0 / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.7553, allocations: 74.7 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.7557, allocations: 313.1 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.7559, allocations: 75.44 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.756, allocations: 41.31 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.7561, allocations: 5.078 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.03e-05/0.7561, allocations: 36.62 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.7561, allocations: 0 / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004698/0.7565, allocations: 140.5 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.7566, allocations: 52.47 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.7566, allocations: 117.3 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.7566, allocations: 26.48 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.7567, allocations: 91.89 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.7567, allocations: 10.31 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.7567, allocations: 23.77 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.531e-05/0.7567, allocations: 322.1 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.7569, allocations: 31.28 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.757, allocations: 37.03 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.7572, allocations: 72.75 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7572, allocations: 1.156 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002856/0.7575, allocations: 100.6 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.7575, allocations: 9.344 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.7575, allocations: 0.8125 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.7575, allocations: 0 / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.7577, allocations: 16.67 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.7577, allocations: 0.9062 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.7578, allocations: 10.36 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.7578, allocations: 5.281 kB / 1.276 GB, free: 3.863 MB / 0.9981 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.804e-05/0.7578, allocations: 115.8 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.7579, allocations: 15.27 kB / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.7579, allocations: 11 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.7579, allocations: 1.125 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.7579, allocations: 0 / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7579, allocations: 2.906 kB / 1.276 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.758, allocations: 185.6 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.758, allocations: 1.125 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.7581, allocations: 15.92 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.7581, allocations: 4 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7582, allocations: 4.234 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7582, allocations: 0 / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7582, allocations: 2.938 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.7585, allocations: 203.3 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.7585, allocations: 84.86 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.7585, allocations: 0 / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.7586, allocations: 6.125 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.7586, allocations: 8.266 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.7587, allocations: 4.422 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.7587, allocations: 96 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7587, allocations: 0 / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002536/0.7589, allocations: 29.34 kB / 1.277 GB, free: 3.16 MB / 0.9981 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.0005325/0.7595, allocations: 0.7608 MB / 1.278 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.7598, allocations: 78.61 kB / 1.278 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7598, allocations: 0.9688 kB / 1.278 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.7599, allocations: 38.09 kB / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.7602, allocations: 6.75 kB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.7606, allocations: 224.5 kB / 1.278 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.7609, allocations: 0.6832 MB / 1.279 GB, free: 17.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.686e-05/0.7609, allocations: 16.23 kB / 1.279 GB, free: 17.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.761, allocations: 20.47 kB / 1.279 GB, free: 17.52 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.761, allocations: 0 / 1.279 GB, free: 17.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.7836, allocations: 2.137 MB / 1.281 GB, free: 17.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.724, allocations: 8.984 kB / 1.281 GB, free: 17.09 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 12.939881307000178]