Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001353/0.001353, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001536/0.001536, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.118/3.118, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002112/0.002112, allocations: 71 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3403, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003327/0.3436, allocations: 1.599 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3449, allocations: 0.6079 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.345, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.968e-05/0.3451, allocations: 7.922 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.258e-05/0.3451, allocations: 7.938 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.3455, allocations: 71.73 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.3457, allocations: 51.86 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.3458, allocations: 7.984 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.3459, allocations: 31.91 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.346, allocations: 27.8 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.346, allocations: 4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.3462, allocations: 55.94 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.3462, allocations: 23.91 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.3463, allocations: 23.86 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.3465, allocations: 99.56 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3465, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3465, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.3466, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 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.0006809/0.3472, allocations: 321.8 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3473, allocations: 8.031 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009994/0.3483, allocations: 224.5 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3486, allocations: 158.8 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/0.3486, allocations: 59.95 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.3487, allocations: 7.875 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.3491, allocations: 173.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3491, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3491, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3491, allocations: 4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.3497, allocations: 235.8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.3506, allocations: 451.5 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.3513, allocations: 238.3 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.3516, allocations: 120.8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3516, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3517, allocations: 30.56 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.3517, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.001017/0.3527, allocations: 369.3 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.3527, allocations: 55.41 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3529, allocations: 165.9 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3529, allocations: 25.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.353, allocations: 100.1 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.353, allocations: 7.938 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.3531, allocations: 21.7 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3532, allocations: 318.8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.3535, allocations: 119.9 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.3538, allocations: 111.9 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.3544, allocations: 200.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3544, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006453/0.355, allocations: 253.4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.355, allocations: 12.02 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.355, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3551, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3553, allocations: 39.92 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3553, allocations: 7.938 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3554, allocations: 39.94 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3555, allocations: 3.984 kB / 1.333 GB, free: 11.21 MB / 1.029 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.0001303/0.3556, allocations: 121.8 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.3556, allocations: 11.94 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.3557, allocations: 7.969 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3557, allocations: 4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3557, allocations: 3.938 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3557, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.3559, allocations: 185.2 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3559, allocations: 7.875 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.3562, allocations: 51.91 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3562, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3562, allocations: 7.922 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3562, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3562, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.357, allocations: 359.2 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.357, allocations: 3.953 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.357, allocations: 4 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3572, allocations: 35.97 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.3572, allocations: 3.938 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.3573, allocations: 7.984 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001029/0.3574, allocations: 119.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3574, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002702/0.3576, allocations: 23.89 kB / 1.333 GB, free: 10.21 MB / 1.029 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.0001804/0.3578, allocations: 107.2 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006628/0.3585, allocations: 231.8 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3585, allocations: 4.062 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.3588, allocations: 119.9 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.359, allocations: 4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.3598, allocations: 336.8 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.3599, allocations: 79.59 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.36, allocations: 19.41 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.36, allocations: 0 / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of Templates: time 0.004043/0.364, allocations: 1.697 MB / 1.336 GB, free: 7.566 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.60435388283804]