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.001734/0.001734, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002143/0.002143, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.742/2.742, allocations: 476.7 MB / 0.7714 GB, free: 4.312 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: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [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.002016/0.002016, allocations: 67.69 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3097, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002968/0.3127, allocations: 1.614 MB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3139, allocations: 0.6602 MB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.3139, allocations: 0 / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.314, allocations: 7.922 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.3141, allocations: 11.88 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.3144, allocations: 59.86 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3145, allocations: 55.78 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3146, allocations: 19.94 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3148, allocations: 31.84 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.3148, allocations: 27.84 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3149, allocations: 4 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.315, allocations: 51.95 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.3151, allocations: 19.97 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.3151, allocations: 35.73 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.3153, allocations: 99.62 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3153, allocations: 7.938 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3153, allocations: 0 / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3153, allocations: 0 / 1.287 GB, free: 8.539 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.000578/0.3159, allocations: 325.8 kB / 1.288 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3159, allocations: 8.031 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.317, allocations: 220.5 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.3172, allocations: 153.2 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.801e-05/0.3173, allocations: 63.95 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3173, allocations: 7.938 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.3177, allocations: 173.5 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3177, allocations: 0 / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3178, allocations: 0 / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3178, allocations: 0 / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.3184, allocations: 243.7 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009226/0.3193, allocations: 494.9 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.3199, allocations: 238.3 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.3202, allocations: 116.8 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.3202, allocations: 0 / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.3203, allocations: 38.56 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3203, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.001039/0.3213, allocations: 365.3 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.3213, allocations: 55.53 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3215, allocations: 174.8 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3215, allocations: 29.64 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.318e-05/0.3216, allocations: 96.14 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3216, allocations: 11.94 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.3217, allocations: 21.7 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3219, allocations: 322.8 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.3222, allocations: 115.9 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.3225, allocations: 111.9 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.323, allocations: 204.6 kB / 1.291 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.323, allocations: 4 kB / 1.291 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006405/0.3237, allocations: 257.4 kB / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3237, allocations: 6.344 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3237, allocations: 3.984 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3237, allocations: 0 / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.3239, allocations: 39.92 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3239, allocations: 11.88 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.3241, allocations: 35.97 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.3241, allocations: 3.984 kB / 1.291 GB, free: 4.477 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.0001023/0.3242, allocations: 121.8 kB / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.3243, allocations: 11.91 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.3243, allocations: 11.97 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3243, allocations: 0 / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3243, allocations: 3.938 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3243, allocations: 0 / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.3246, allocations: 228.7 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3246, allocations: 0 / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.3248, allocations: 43.91 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3248, allocations: 0 / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3248, allocations: 0 / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3248, allocations: 7.984 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3248, allocations: 7.938 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.3255, allocations: 351.3 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.3255, allocations: 15.88 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3255, allocations: 0 / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.3257, allocations: 31.94 kB / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3258, allocations: 3.938 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3258, allocations: 7.984 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001069/0.3259, allocations: 136.1 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3259, allocations: 0 / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002611/0.3262, allocations: 23.94 kB / 1.292 GB, free: 3.426 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.0001457/0.3263, allocations: 95.25 kB / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006687/0.327, allocations: 235.7 kB / 1.292 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.327, allocations: 3.938 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.3273, allocations: 123.9 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.3275, allocations: 4 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.3282, allocations: 328.8 kB / 1.293 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3286, allocations: 0.7002 MB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.3286, allocations: 19.41 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3286, allocations: 0 / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of Templates: time 0.003587/0.3322, allocations: 1.703 MB / 1.295 GB, free: 160 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] 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: 11.576880565000465]