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.001751/0.001751, allocations: 106 kB / 16.45 MB, free: 6.445 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.00212/0.00212, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.521/1.521, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] 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.897/2.897, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] 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.001999/0.001999, allocations: 67.89 kB / 1.104 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002873/1.043, allocations: 1.545 MB / 1.27 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001188/1.044, allocations: 0.7729 MB / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/1.044, allocations: 0.8125 kB / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/1.044, allocations: 5.484 kB / 1.271 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/1.044, allocations: 15.84 kB / 1.271 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/1.044, allocations: 87.05 kB / 1.271 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.757e-05/1.044, allocations: 56.31 kB / 1.271 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/1.045, allocations: 8.781 kB / 1.271 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/1.045, allocations: 29.7 kB / 1.271 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/1.045, allocations: 22.31 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/1.045, allocations: 3.844 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/1.045, allocations: 68.33 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/1.045, allocations: 19.36 kB / 1.271 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/1.045, allocations: 19.86 kB / 1.271 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/1.045, allocations: 94.28 kB / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.045, allocations: 0.75 kB / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/1.045, allocations: 0 / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.045, allocations: 0.7812 kB / 1.271 GB, free: 5.934 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.0004154/1.046, allocations: 384.1 kB / 1.272 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.046, allocations: 10 kB / 1.272 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/1.046, allocations: 32 kB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/1.046, allocations: 31.42 kB / 1.272 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.382e-05/1.046, allocations: 181.7 kB / 1.272 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.046, allocations: 6.125 kB / 1.272 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/1.046, allocations: 1.281 kB / 1.272 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/1.046, allocations: 82.8 kB / 1.272 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.046, allocations: 3.984 kB / 1.272 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/1.046, allocations: 8.875 kB / 1.272 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.046, allocations: 0.6875 kB / 1.272 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/1.047, allocations: 60.91 kB / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/1.047, allocations: 319.1 kB / 1.272 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/1.047, allocations: 71.05 kB / 1.273 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/1.047, allocations: 37.88 kB / 1.273 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/1.047, allocations: 0.7812 kB / 1.273 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/1.047, allocations: 40.08 kB / 1.273 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.047, allocations: 0 / 1.273 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005118/1.048, allocations: 136.1 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/1.048, allocations: 53.3 kB / 1.273 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/1.048, allocations: 117.6 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/1.048, allocations: 30.7 kB / 1.273 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/1.048, allocations: 87.86 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/1.048, allocations: 14.14 kB / 1.273 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/1.048, allocations: 18.3 kB / 1.273 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.643e-05/1.048, allocations: 326.1 kB / 1.273 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/1.048, allocations: 32.52 kB / 1.273 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/1.048, allocations: 32.84 kB / 1.273 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/1.049, allocations: 64.98 kB / 1.274 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.049, allocations: 0.9688 kB / 1.274 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003141/1.049, allocations: 112.4 kB / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.049, allocations: 5.375 kB / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.049, allocations: 1.516 kB / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.049, allocations: 0 / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/1.049, allocations: 17.11 kB / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/1.049, allocations: 0 / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/1.049, allocations: 6.844 kB / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/1.049, allocations: 3.859 kB / 1.274 GB, free: 4.012 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 6.339e-05/1.049, allocations: 124.6 kB / 1.274 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/1.049, allocations: 7.109 kB / 1.274 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/1.049, allocations: 7.484 kB / 1.274 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.049, allocations: 1.156 kB / 1.274 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.049, allocations: 0 / 1.274 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.049, allocations: 0.5938 kB / 1.274 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/1.05, allocations: 196.3 kB / 1.274 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.05, allocations: 0 / 1.274 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/1.05, allocations: 20.89 kB / 1.274 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/1.05, allocations: 0 / 1.274 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.05, allocations: 4.625 kB / 1.274 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.05, allocations: 4.844 kB / 1.274 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/1.05, allocations: 0 / 1.274 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/1.05, allocations: 213.6 kB / 1.274 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/1.05, allocations: 78.08 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/1.05, allocations: 3.609 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.05, allocations: 5.125 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/1.05, allocations: 7.25 kB / 1.274 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/1.05, allocations: 4.453 kB / 1.274 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.983e-05/1.05, allocations: 95.66 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.05, allocations: 0 / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002689/1.051, allocations: 31.77 kB / 1.274 GB, free: 3.297 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.0005708/1.051, allocations: 0.7652 MB / 1.275 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000312/1.052, allocations: 72.83 kB / 1.275 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.052, allocations: 0 / 1.275 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/1.052, allocations: 39.11 kB / 1.275 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/1.052, allocations: 4.5 kB / 1.275 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/1.053, allocations: 219.6 kB / 1.275 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/1.053, allocations: 0.6833 MB / 1.276 GB, free: 17.69 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.617e-05/1.053, allocations: 16.86 kB / 1.276 GB, free: 17.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/1.053, allocations: 25.25 kB / 1.276 GB, free: 17.66 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/1.053, allocations: 0 / 1.276 GB, free: 17.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/1.078, allocations: 2.173 MB / 1.278 GB, free: 17.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/9.015, allocations: 3.688 kB / 1.278 GB, free: 17.21 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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_2/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: 15.30387305514887]