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.001817/0.001817, allocations: 120 kB / 17.17 MB, free: 5.977 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.002442/0.002442, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9/2.9, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",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.002283/0.002283, allocations: 67.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003053/1.016, allocations: 1.603 MB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001329/1.017, allocations: 0.6554 MB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/1.017, allocations: 5.094 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.13e-05/1.017, allocations: 5.438 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.663e-05/1.017, allocations: 15.27 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000335/1.018, allocations: 55.88 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/1.018, allocations: 51.45 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/1.018, allocations: 16.05 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/1.018, allocations: 36.31 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/1.018, allocations: 19.91 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/1.018, allocations: 4.188 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/1.018, allocations: 60.44 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/1.018, allocations: 24.3 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/1.018, allocations: 28.17 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/1.019, allocations: 106.3 kB / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.019, allocations: 0.6562 kB / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.963e-06/1.019, allocations: 0.5625 kB / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.4e-06/1.019, allocations: 0 / 1.282 GB, free: 9.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007218/1.019, allocations: 397.5 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.019, allocations: 10.41 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.376e-05/1.019, allocations: 5.281 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/1.019, allocations: 36.47 kB / 1.282 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/1.021, allocations: 217.5 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/1.021, allocations: 215.8 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/1.021, allocations: 39.48 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/1.021, allocations: 2.406 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/1.022, allocations: 175.1 kB / 1.283 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.022, allocations: 4 kB / 1.283 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.022, allocations: 4.781 kB / 1.283 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.022, allocations: 1.25 kB / 1.283 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/1.022, allocations: 234.7 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/1.023, allocations: 0.4988 MB / 1.283 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/1.024, allocations: 243.1 kB / 1.284 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/1.024, allocations: 116.2 kB / 1.284 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.024, allocations: 1.391 kB / 1.284 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/1.025, allocations: 30.56 kB / 1.284 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/1.025, allocations: 4 kB / 1.284 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.001192/1.026, allocations: 373 kB / 1.284 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/1.026, allocations: 55.34 kB / 1.284 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/1.026, allocations: 174.9 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/1.026, allocations: 25.7 kB / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/1.026, allocations: 108.6 kB / 1.284 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/1.026, allocations: 4.75 kB / 1.284 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/1.026, allocations: 28.31 kB / 1.284 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.026, allocations: 320.8 kB / 1.285 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/1.027, allocations: 109.5 kB / 1.285 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/1.027, allocations: 118.4 kB / 1.285 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/1.028, allocations: 202.5 kB / 1.285 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.028, allocations: 0 / 1.285 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007433/1.028, allocations: 255.8 kB / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.028, allocations: 6.125 kB / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.028, allocations: 0 / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/1.028, allocations: 0 / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/1.029, allocations: 57.33 kB / 1.285 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.029, allocations: 0 / 1.285 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/1.029, allocations: 36.59 kB / 1.286 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/1.029, allocations: 4.922 kB / 1.286 GB, free: 7.836 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 (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.0001239/1.029, allocations: 127.4 kB / 1.286 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/1.029, allocations: 9.234 kB / 1.286 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/1.029, allocations: 12.64 kB / 1.286 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.029, allocations: 3.938 kB / 1.286 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.029, allocations: 1.438 kB / 1.286 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.029, allocations: 1.172 kB / 1.286 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/1.029, allocations: 258.3 kB / 1.286 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.029, allocations: 0 / 1.286 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/1.03, allocations: 46.98 kB / 1.286 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/1.03, allocations: 1.25 kB / 1.286 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/1.03, allocations: 4.062 kB / 1.286 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/1.03, allocations: 5.406 kB / 1.286 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.03, allocations: 0 / 1.286 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/1.03, allocations: 355.1 kB / 1.286 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/1.03, allocations: 85.03 kB / 1.286 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/1.031, allocations: 1.438 kB / 1.286 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/1.031, allocations: 40.41 kB / 1.286 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/1.031, allocations: 2.141 kB / 1.286 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/1.031, allocations: 5.156 kB / 1.286 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001427/1.031, allocations: 127.5 kB / 1.287 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.031, allocations: 0 / 1.287 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002948/1.031, allocations: 16.27 kB / 1.287 GB, free: 7.102 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 (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.001406/1.033, allocations: 0.8826 MB / 1.287 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008237/1.033, allocations: 240.6 kB / 1.288 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.033, allocations: 0 / 1.288 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003615/1.034, allocations: 119.4 kB / 1.288 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/1.034, allocations: 11.34 kB / 1.288 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/1.038, allocations: 2.348 MB / 1.29 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/1.039, allocations: 0.6978 MB / 1.291 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001124/1.039, allocations: 23.78 kB / 1.291 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.039, allocations: 33.81 kB / 1.291 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of SimCode: time 1.103e-06/1.039, allocations: 0 / 1.291 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/1.059, allocations: 2.738 MB / 1.293 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.632/9.691, allocations: 3.219 kB / 1.293 GB, free: 3.707 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.11807589698583]