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.001658/0.001658, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001825/0.001825, allocations: 220.6 kB / 23 MB, free: 4.918 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.206/3.206, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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: 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.002076/0.002076, allocations: 72.52 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3621, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003077/0.3652, allocations: 1.594 MB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3665, allocations: 0.609 MB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.3665, allocations: 0 / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.595e-05/0.3666, allocations: 3.938 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.579e-05/0.3667, allocations: 19.8 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.367, allocations: 55.86 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3672, allocations: 47.84 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3673, allocations: 8 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3675, allocations: 39.84 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.3675, allocations: 27.84 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3675, allocations: 4 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3677, allocations: 55.94 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.3678, allocations: 19.92 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.3678, allocations: 15.88 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.368, allocations: 99.56 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.368, allocations: 0 / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/0.368, allocations: 0 / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.368, allocations: 4 kB / 1.367 GB, free: 10.98 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.0006303/0.3687, allocations: 325.8 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3687, allocations: 8.031 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/0.3697, allocations: 224.5 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.3699, allocations: 154.8 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-05/0.37, allocations: 59.95 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3701, allocations: 7.938 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.3705, allocations: 169.5 kB / 1.368 GB, free: 9.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3705, allocations: 3.938 kB / 1.368 GB, free: 9.977 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3705, allocations: 4 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3705, allocations: 4 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.3711, allocations: 239.7 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008583/0.372, allocations: 447.6 kB / 1.369 GB, free: 9.266 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.3726, allocations: 238.3 kB / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.3729, allocations: 124.8 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3729, allocations: 0 / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3729, allocations: 30.56 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3729, allocations: 0 / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.00103/0.374, allocations: 365.2 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.374, allocations: 59.53 kB / 1.37 GB, free: 8.426 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3742, allocations: 163.8 kB / 1.37 GB, free: 8.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3742, allocations: 25.7 kB / 1.37 GB, free: 8.219 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.3743, allocations: 104.1 kB / 1.37 GB, free: 8.113 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.3743, allocations: 3.938 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.3744, allocations: 21.7 kB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3746, allocations: 318.8 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3749, allocations: 119.9 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.3751, allocations: 111.9 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.3757, allocations: 200.6 kB / 1.371 GB, free: 7.336 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3757, allocations: 0 / 1.371 GB, free: 7.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006462/0.3763, allocations: 261.3 kB / 1.371 GB, free: 7.074 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3764, allocations: 4 kB / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3764, allocations: 0 / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3764, allocations: 4.031 kB / 1.371 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.3766, allocations: 39.92 kB / 1.371 GB, free: 7.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3766, allocations: 7.938 kB / 1.371 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.3767, allocations: 35.92 kB / 1.371 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3768, allocations: 0 / 1.371 GB, free: 6.984 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 0.0001174/0.3769, allocations: 126.9 kB / 1.371 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.3769, allocations: 7.953 kB / 1.371 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.3769, allocations: 11.97 kB / 1.371 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3769, allocations: 0 / 1.371 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.377, allocations: 3.938 kB / 1.371 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.377, allocations: 0 / 1.371 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.3772, allocations: 185.2 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3772, allocations: 0 / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.3774, allocations: 51.86 kB / 1.371 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3774, allocations: 0 / 1.371 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3774, allocations: 7.984 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3774, allocations: 0 / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3774, allocations: 3.938 kB / 1.371 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.3781, allocations: 355.2 kB / 1.372 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.3782, allocations: 3.953 kB / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3782, allocations: 4 kB / 1.372 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3784, allocations: 43.95 kB / 1.372 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3784, allocations: 3.938 kB / 1.372 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3784, allocations: 11.98 kB / 1.372 GB, free: 6.121 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001024/0.3785, allocations: 116.9 kB / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3785, allocations: 0 / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002529/0.3788, allocations: 12 kB / 1.372 GB, free: 5.996 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.000176/0.379, allocations: 99.23 kB / 1.372 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006832/0.3796, allocations: 235.7 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3796, allocations: 0 / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.3799, allocations: 123.9 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.3802, allocations: 5.375 kB / 1.372 GB, free: 5.535 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007055/0.3809, allocations: 340.8 kB / 1.373 GB, free: 5.172 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.819e-05/0.381, allocations: 83.38 kB / 1.373 GB, free: 5.066 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/0.3811, allocations: 19.41 kB / 1.373 GB, free: 5.047 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/0.3811, allocations: 3.938 kB / 1.373 GB, free: 5.043 MB / 1.061 GB Notification: Performance of Templates: time 0.003699/0.3848, allocations: 1.671 MB / 1.374 GB, free: 3.371 MB / 1.061 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/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: 11.87216797284782]