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.001362/0.001362, allocations: 100.6 kB / 19.73 MB, free: 2.23 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.00193/0.00193, allocations: 220.5 kB / 23.04 MB, free: 5.074 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.712/2.712, allocations: 476.7 MB / 0.7715 GB, free: 4.27 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="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.001957/0.001957, allocations: 67.72 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.291, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002864/0.2938, allocations: 1.61 MB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.295, allocations: 0.6641 MB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.2951, allocations: 0 / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.241e-05/0.2951, allocations: 3.938 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/0.2952, allocations: 15.86 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.2955, allocations: 63.81 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2956, allocations: 55.78 kB / 1.287 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.2957, allocations: 15.98 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2958, allocations: 27.91 kB / 1.287 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.2959, allocations: 23.92 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2959, allocations: 0 / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.2961, allocations: 59.88 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.2961, allocations: 27.91 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.2962, allocations: 35.73 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2964, allocations: 99.91 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2964, allocations: 0 / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2964, allocations: 0 / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2964, allocations: 0 / 1.287 GB, free: 8.984 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.0005467/0.2969, allocations: 325.8 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.297, allocations: 8.031 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.155e-05/0.297, allocations: 192 / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.297, allocations: 38.75 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000971/0.298, allocations: 220.5 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.2982, allocations: 161.3 kB / 1.288 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.608e-05/0.2983, allocations: 67.52 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.2983, allocations: 4 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.2988, allocations: 169.5 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2988, allocations: 0 / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2988, allocations: 0 / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.2988, allocations: 4 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.2994, allocations: 231.8 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/0.3003, allocations: 498.8 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.3009, allocations: 238.3 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.3012, allocations: 120.8 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.3012, allocations: 0 / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3012, allocations: 34.56 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3012, allocations: 0 / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.001023/0.3022, allocations: 377.3 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3023, allocations: 59.28 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3024, allocations: 164.7 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3025, allocations: 29.7 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.3025, allocations: 100.1 kB / 1.29 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3026, allocations: 7.953 kB / 1.29 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.3026, allocations: 21.69 kB / 1.29 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3028, allocations: 322.9 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3031, allocations: 111.9 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.3034, allocations: 111.9 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.3039, allocations: 204.7 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3039, allocations: 0 / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006565/0.3046, allocations: 257.3 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3046, allocations: 10.12 kB / 1.291 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3046, allocations: 4 kB / 1.291 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3046, allocations: 0 / 1.291 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.3049, allocations: 47.84 kB / 1.291 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3049, allocations: 0 / 1.291 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.305, allocations: 35.97 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.3051, allocations: 7.984 kB / 1.291 GB, free: 4.875 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.0001032/0.3052, allocations: 113.8 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.3052, allocations: 15.89 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.3052, allocations: 11.97 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3052, allocations: 3.938 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3052, allocations: 8 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3052, allocations: 3.984 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.3055, allocations: 220.7 kB / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3055, allocations: 0 / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.3057, allocations: 43.92 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3057, allocations: 3.984 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3057, allocations: 3.938 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3057, allocations: 7.938 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3057, allocations: 0 / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.3064, allocations: 355.2 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.3065, allocations: 7.953 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3065, allocations: 0 / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3067, allocations: 43.86 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.3067, allocations: 4.031 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3067, allocations: 3.984 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001067/0.3068, allocations: 130.8 kB / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3068, allocations: 0 / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002643/0.3071, allocations: 19.94 kB / 1.292 GB, free: 3.828 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.001052/0.3082, allocations: 0.884 MB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006578/0.3088, allocations: 231.8 kB / 1.293 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3088, allocations: 8.062 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.3091, allocations: 115.9 kB / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.3094, allocations: 11.94 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.3128, allocations: 2.346 MB / 1.295 GB, free: 136 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.3132, allocations: 0.6963 MB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.155e-05/0.3133, allocations: 23.75 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.3134, allocations: 31.41 kB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.3134, allocations: 3.938 kB / 1.296 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.3355, allocations: 2.814 MB / 1.299 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.21, allocations: 10.69 kB / 1.299 GB, free: 12.68 MB / 0.9981 GB " [Timeout remaining time 287] (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.824337309983093]