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.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.001489/0.001489, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001622/0.001622, allocations: 189.5 kB / 22.23 MB, free: 5.133 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.335/1.335, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.914/2.914, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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: 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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.36 kB / 1.145 GB, free: 30.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3053, allocations: 174.9 MB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00301/0.3083, allocations: 1.6 MB / 1.318 GB, free: 8.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3094, allocations: 0.6001 MB / 1.318 GB, free: 7.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.3095, allocations: 4 kB / 1.318 GB, free: 7.543 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.666e-05/0.3095, allocations: 11.86 kB / 1.318 GB, free: 7.531 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.3096, allocations: 3.938 kB / 1.318 GB, free: 7.527 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3099, allocations: 59.81 kB / 1.318 GB, free: 7.469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.31, allocations: 47.84 kB / 1.318 GB, free: 7.422 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.3101, allocations: 8 kB / 1.318 GB, free: 7.414 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3102, allocations: 31.91 kB / 1.318 GB, free: 7.383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3103, allocations: 23.84 kB / 1.318 GB, free: 7.359 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3104, allocations: 4 kB / 1.318 GB, free: 7.355 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.3105, allocations: 55.89 kB / 1.318 GB, free: 7.301 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.3106, allocations: 19.92 kB / 1.318 GB, free: 7.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.3106, allocations: 35.78 kB / 1.318 GB, free: 7.246 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3108, allocations: 95.62 kB / 1.319 GB, free: 7.152 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3108, allocations: 0 / 1.319 GB, free: 7.152 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3108, allocations: 0 / 1.319 GB, free: 7.152 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3108, allocations: 3.938 kB / 1.319 GB, free: 7.148 MB / 1.014 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.0006487/0.3115, allocations: 321.8 kB / 1.319 GB, free: 6.805 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3115, allocations: 8.031 kB / 1.319 GB, free: 6.797 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.3125, allocations: 212.5 kB / 1.319 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3126, allocations: 127 kB / 1.319 GB, free: 6.441 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.3127, allocations: 38.25 kB / 1.319 GB, free: 6.398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3127, allocations: 7.875 kB / 1.319 GB, free: 6.391 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.3132, allocations: 177.5 kB / 1.319 GB, free: 6.211 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3132, allocations: 0 / 1.319 GB, free: 6.211 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3132, allocations: 4 kB / 1.319 GB, free: 6.207 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3132, allocations: 0 / 1.319 GB, free: 6.207 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.3138, allocations: 235.7 kB / 1.32 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.3147, allocations: 0.4909 MB / 1.32 GB, free: 5.441 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.3153, allocations: 230.3 kB / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.3156, allocations: 116.8 kB / 1.32 GB, free: 5.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3157, allocations: 4 kB / 1.32 GB, free: 5.086 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3157, allocations: 38.5 kB / 1.321 GB, free: 5.039 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3157, allocations: 0 / 1.321 GB, free: 5.039 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0009976/0.3167, allocations: 373.2 kB / 1.321 GB, free: 4.668 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3167, allocations: 51.41 kB / 1.321 GB, free: 4.605 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3169, allocations: 176.9 kB / 1.321 GB, free: 4.422 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.3169, allocations: 29.7 kB / 1.321 GB, free: 4.387 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.317, allocations: 100.1 kB / 1.321 GB, free: 4.285 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.317, allocations: 3.953 kB / 1.321 GB, free: 4.281 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.3171, allocations: 25.69 kB / 1.321 GB, free: 4.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3172, allocations: 322.8 kB / 1.322 GB, free: 3.926 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.3176, allocations: 107.9 kB / 1.322 GB, free: 3.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.3178, allocations: 111.9 kB / 1.322 GB, free: 3.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.3184, allocations: 200.7 kB / 1.322 GB, free: 3.512 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3184, allocations: 4 kB / 1.322 GB, free: 3.508 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006608/0.3191, allocations: 257.3 kB / 1.322 GB, free: 3.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3191, allocations: 11.97 kB / 1.322 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3191, allocations: 0 / 1.322 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3191, allocations: 0 / 1.322 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3193, allocations: 47.91 kB / 1.322 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3193, allocations: 3.938 kB / 1.322 GB, free: 3.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.3195, allocations: 43.88 kB / 1.322 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3195, allocations: 7.984 kB / 1.322 GB, free: 3.137 MB / 1.014 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.0001041/0.3196, allocations: 110.4 kB / 1.322 GB, free: 3.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.3197, allocations: 15.89 kB / 1.322 GB, free: 3.004 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.3197, allocations: 11.97 kB / 1.322 GB, free: 2.988 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3197, allocations: 0 / 1.322 GB, free: 2.988 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3197, allocations: 3.938 kB / 1.322 GB, free: 2.984 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.3197, allocations: 0 / 1.322 GB, free: 2.984 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.32, allocations: 220.5 kB / 1.323 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.32, allocations: 4 kB / 1.323 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.3202, allocations: 39.92 kB / 1.323 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3202, allocations: 3.984 kB / 1.323 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3202, allocations: 8 kB / 1.323 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3202, allocations: 0 / 1.323 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3202, allocations: 3.938 kB / 1.323 GB, free: 2.668 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.3209, allocations: 355.2 kB / 1.323 GB, free: 2.305 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.3209, allocations: 7.953 kB / 1.323 GB, free: 2.297 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3209, allocations: 0 / 1.323 GB, free: 2.297 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.3211, allocations: 35.92 kB / 1.323 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3212, allocations: 7.938 kB / 1.323 GB, free: 2.254 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3212, allocations: 7.984 kB / 1.323 GB, free: 2.246 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3213, allocations: 125.2 kB / 1.323 GB, free: 2.125 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3213, allocations: 7.969 kB / 1.323 GB, free: 2.117 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002456/0.3215, allocations: 16 kB / 1.323 GB, free: 2.102 MB / 1.014 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.0001571/0.3217, allocations: 99.23 kB / 1.323 GB, free: 1.996 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006617/0.3223, allocations: 235.7 kB / 1.324 GB, free: 1.766 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3223, allocations: 0 / 1.324 GB, free: 1.766 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.3227, allocations: 123.9 kB / 1.324 GB, free: 1.645 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3229, allocations: 4 kB / 1.324 GB, free: 1.641 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.3236, allocations: 295.3 kB / 1.324 GB, free: 1.328 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3239, allocations: 0.7002 MB / 1.325 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.312e-05/0.324, allocations: 20 kB / 1.325 GB, free: 0.582 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.324, allocations: 23.42 kB / 1.325 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.324, allocations: 0 / 1.325 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of Templates: time 0.003965/0.328, allocations: 1.313 MB / 1.326 GB, free: 15.25 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 800] 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/jenkins/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: 7.976488480344415]