Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001466/0.001466, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001631/0.001631, allocations: 210.4 kB / 22.24 MB, free: 5.242 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.936/2.936, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_latest_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.001984/0.001984, allocations: 74.45 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3029, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002609/0.3055, allocations: 1.586 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3066, allocations: 0.6128 MB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.3066, allocations: 4 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.3067, allocations: 3.938 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.3067, allocations: 11.88 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.307, allocations: 55.86 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.3071, allocations: 55.77 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.3072, allocations: 8.281 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3073, allocations: 31.86 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.3074, allocations: 27.89 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3074, allocations: 4 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3075, allocations: 51.97 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.3076, allocations: 27.89 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.3076, allocations: 19.81 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3078, allocations: 95.62 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3078, allocations: 3.938 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3078, allocations: 0 / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.3078, allocations: 0 / 1.366 GB, free: 11.51 MB / 1.061 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.0005051/0.3083, allocations: 321.8 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.3083, allocations: 8.031 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.3084, allocations: 42.69 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/0.3093, allocations: 216.5 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3095, allocations: 154.9 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.3096, allocations: 71.7 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3096, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.31, allocations: 165.5 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.31, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.31, allocations: 8 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.31, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.3106, allocations: 235.7 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008206/0.3114, allocations: 475 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.3119, allocations: 238.3 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.3122, allocations: 112.8 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3122, allocations: 8 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3123, allocations: 42.5 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3123, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0009375/0.3132, allocations: 365.3 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3132, allocations: 59.34 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3134, allocations: 172.4 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3134, allocations: 25.7 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.3135, allocations: 104.3 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3135, allocations: 7.891 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.3136, allocations: 25.69 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3137, allocations: 322.8 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.314, allocations: 107.9 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.3143, allocations: 115.8 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.3148, allocations: 208.6 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3148, allocations: 0 / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006161/0.3154, allocations: 257.4 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3154, allocations: 4 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.3154, allocations: 4 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3154, allocations: 0 / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3156, allocations: 47.94 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3157, allocations: 7.922 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3158, allocations: 35.94 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3158, allocations: 3.984 kB / 1.37 GB, free: 7.418 MB / 1.061 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 9.451e-05/0.3159, allocations: 117.8 kB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.3159, allocations: 7.953 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.316, allocations: 11.97 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.316, allocations: 4 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.316, allocations: 7.875 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.316, allocations: 0 / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.3162, allocations: 204.8 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3162, allocations: 3.984 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.3164, allocations: 43.92 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3164, allocations: 4 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3164, allocations: 3.984 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3164, allocations: 0 / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3164, allocations: 3.938 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.3171, allocations: 355.2 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.3171, allocations: 15.89 kB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3171, allocations: 3.938 kB / 1.37 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3173, allocations: 31.94 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.3173, allocations: 7.922 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3174, allocations: 8.031 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001091/0.3175, allocations: 132.8 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3175, allocations: 0 / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002338/0.3177, allocations: 19.94 kB / 1.371 GB, free: 6.379 MB / 1.061 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.0009483/0.3186, allocations: 0.8724 MB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006094/0.3193, allocations: 235.7 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3193, allocations: 0 / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.3195, allocations: 127.9 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.3198, allocations: 11.84 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.3231, allocations: 2.346 MB / 1.374 GB, free: 2.684 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.669e-05/0.3232, allocations: 81.64 kB / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.856e-05/0.3233, allocations: 27.98 kB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.3234, allocations: 31.42 kB / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3234, allocations: 0 / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.3529, allocations: 3.253 MB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.41, allocations: 6.844 kB / 1.377 GB, free: 15.41 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.423134145326912]