Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.001301/0.001301, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001531/0.001531, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.696/2.696, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.QStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",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.002081/0.002081, allocations: 63.78 kB / 1.117 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3389, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003201/0.3421, allocations: 1.599 MB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3432, allocations: 0.6136 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.3433, allocations: 3.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.598e-05/0.3433, allocations: 3.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.3434, allocations: 11.88 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.3438, allocations: 63.8 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.3439, allocations: 47.84 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.344, allocations: 23.92 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3441, allocations: 31.91 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.3442, allocations: 15.92 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3442, allocations: 4 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.3444, allocations: 55.88 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.3444, allocations: 27.91 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3445, allocations: 23.81 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3447, allocations: 95.2 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3447, allocations: 0 / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3447, allocations: 0 / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.3447, allocations: 4 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006085/0.3453, allocations: 329.7 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3453, allocations: 8.031 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.3454, allocations: 38.75 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009933/0.3464, allocations: 216.5 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3466, allocations: 154.9 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/0.3467, allocations: 63.66 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3467, allocations: 4 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.3472, allocations: 173.5 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3472, allocations: 0 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.3472, allocations: 11.98 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3472, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006025/0.3478, allocations: 231.8 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000892/0.3487, allocations: 478.9 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.3493, allocations: 242.3 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.3496, allocations: 116.8 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3497, allocations: 4 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3497, allocations: 30.56 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3497, allocations: 0 / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00103/0.3507, allocations: 377.3 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3508, allocations: 59.34 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3509, allocations: 165.1 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.351, allocations: 29.7 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.351, allocations: 104.1 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3511, allocations: 3.953 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.3511, allocations: 21.7 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3513, allocations: 322.8 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.3516, allocations: 115.8 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.3519, allocations: 111.9 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.3525, allocations: 200.7 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3525, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006931/0.3532, allocations: 265.3 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3532, allocations: 4 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3532, allocations: 8.031 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3532, allocations: 0 / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.3535, allocations: 43.91 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3535, allocations: 3.938 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.3536, allocations: 39.94 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.3537, allocations: 3.984 kB / 1.289 GB, free: 5.73 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.0001266/0.3538, allocations: 113.8 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.3538, allocations: 7.953 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.3539, allocations: 11.95 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.3539, allocations: 4 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.3539, allocations: 3.938 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3539, allocations: 0 / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.3542, allocations: 216.7 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3542, allocations: 0 / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.3544, allocations: 51.91 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3544, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3544, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3544, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.3544, allocations: 7.922 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.3552, allocations: 355.2 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.3552, allocations: 11.94 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3553, allocations: 0 / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.3555, allocations: 35.97 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.3555, allocations: 3.938 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3555, allocations: 11.98 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001261/0.3556, allocations: 130.5 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3556, allocations: 0 / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002753/0.3559, allocations: 23.92 kB / 1.29 GB, free: 4.695 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.001117/0.357, allocations: 0.8801 MB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000665/0.3577, allocations: 227.8 kB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3577, allocations: 0 / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.358, allocations: 127.9 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.3582, allocations: 11.88 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.3619, allocations: 2.342 MB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.117e-05/0.362, allocations: 79.59 kB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.3621, allocations: 27.75 kB / 1.293 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.3622, allocations: 31.41 kB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3622, allocations: 0 / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.3937, allocations: 3.266 MB / 1.297 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 4.062 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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: 18.238666146062315]