Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.001766/0.001766, allocations: 102.7 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.001388/0.001388, 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.489/1.489, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 443.5 MB / 0.7287 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.QStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.89 kB / 1.056 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3019, allocations: 160.7 MB / 1.213 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002854/0.3048, allocations: 1.6 MB / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3058, allocations: 0.6016 MB / 1.215 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.3058, allocations: 4 kB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.676e-05/0.3059, allocations: 3.938 kB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.832e-05/0.3059, allocations: 7.938 kB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.3062, allocations: 51.83 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3063, allocations: 55.77 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.3064, allocations: 11.98 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3065, allocations: 19.94 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.037e-05/0.3066, allocations: 27.89 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3066, allocations: 4 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3067, allocations: 51.89 kB / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.3068, allocations: 19.92 kB / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.3068, allocations: 35.8 kB / 1.215 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.307, allocations: 95.84 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.307, allocations: 4 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.307, allocations: 0 / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3071, allocations: 0 / 1.215 GB, free: 14.84 MB / 0.9669 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.0006309/0.3077, allocations: 394.9 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3077, allocations: 8.031 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.3078, allocations: 38.73 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.3087, allocations: 212.5 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3089, allocations: 188.8 kB / 1.216 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.3089, allocations: 41.95 kB / 1.216 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.309, allocations: 0 / 1.216 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.3094, allocations: 177.5 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3094, allocations: 0 / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3094, allocations: 0 / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3094, allocations: 7.938 kB / 1.216 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.31, allocations: 235.7 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.3109, allocations: 0.5078 MB / 1.217 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.3115, allocations: 242.3 kB / 1.217 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.3118, allocations: 120.8 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.3119, allocations: 80 / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3119, allocations: 30.56 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3119, allocations: 0 / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.001002/0.3129, allocations: 369.3 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3129, allocations: 63.38 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3131, allocations: 165.1 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3131, allocations: 25.7 kB / 1.218 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.3132, allocations: 108.1 kB / 1.218 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3132, allocations: 7.953 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.3133, allocations: 17.7 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3134, allocations: 318.8 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.3137, allocations: 119.9 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.314, allocations: 111.9 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.3145, allocations: 200.7 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3145, allocations: 0 / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006325/0.3152, allocations: 261.3 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3152, allocations: 6.188 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3152, allocations: 0 / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3152, allocations: 0 / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.3154, allocations: 43.92 kB / 1.219 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3154, allocations: 7.922 kB / 1.219 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.3156, allocations: 43.89 kB / 1.219 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3156, allocations: 0 / 1.219 GB, free: 10.61 MB / 0.9669 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.925e-05/0.3157, allocations: 121.8 kB / 1.219 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.3158, allocations: 7.953 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.3158, allocations: 11.88 kB / 1.219 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3158, allocations: 3.984 kB / 1.219 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3158, allocations: 3.938 kB / 1.219 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.3158, allocations: 4 kB / 1.219 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.3161, allocations: 249.3 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3161, allocations: 0 / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.3163, allocations: 51.91 kB / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3163, allocations: 0 / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3163, allocations: 3.984 kB / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3163, allocations: 0 / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3163, allocations: 11.88 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.317, allocations: 355.2 kB / 1.22 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.317, allocations: 81.06 kB / 1.22 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3171, allocations: 7.938 kB / 1.22 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3172, allocations: 31.94 kB / 1.22 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.3173, allocations: 3.938 kB / 1.22 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3173, allocations: 12.02 kB / 1.22 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001074/0.3174, allocations: 133 kB / 1.22 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3174, allocations: 0 / 1.22 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002483/0.3176, allocations: 12 kB / 1.22 GB, free: 9.43 MB / 0.9669 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.001039/0.3187, allocations: 0.884 MB / 1.221 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006365/0.3193, allocations: 231.8 kB / 1.221 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3193, allocations: 0 / 1.221 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.3196, allocations: 119.9 kB / 1.222 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3198, allocations: 7.938 kB / 1.222 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.3234, allocations: 2.347 MB / 1.224 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.3237, allocations: 0.6983 MB / 1.225 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.64e-05/0.3238, allocations: 20 kB / 1.225 GB, free: 5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.3239, allocations: 31.41 kB / 1.225 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of SimCode: time 8.21e-07/0.3239, allocations: 0 / 1.225 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.3484, allocations: 2.65 MB / 1.227 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.399, allocations: 8.062 kB / 1.227 GB, free: 2.406 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.279019277077168]