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.001334/0.001334, allocations: 114.2 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.001559/0.001559, allocations: 187.7 kB / 22.23 MB, free: 5.137 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.48/1.48, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: 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_10_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_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 67.89 kB / 1.061 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8677/0.8699, allocations: 160.8 MB / 1.218 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003321/0.8733, allocations: 1.608 MB / 1.22 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.8745, allocations: 0.6125 MB / 1.221 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.8745, allocations: 0 / 1.221 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.203e-05/0.8746, allocations: 3.938 kB / 1.221 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.8747, allocations: 7.875 kB / 1.221 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.8751, allocations: 51.88 kB / 1.221 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.8752, allocations: 51.78 kB / 1.221 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.8753, allocations: 15.98 kB / 1.221 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.8755, allocations: 23.92 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.905e-05/0.8755, allocations: 31.84 kB / 1.221 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.8756, allocations: 4 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.8757, allocations: 55.88 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.8758, allocations: 23.92 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.8759, allocations: 27.75 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.8761, allocations: 98 kB / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8761, allocations: 0 / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8761, allocations: 0 / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.8761, allocations: 7.984 kB / 1.221 GB, free: 1.797 MB / 0.92 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.0008465/0.877, allocations: 395 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.877, allocations: 8.031 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009597/0.878, allocations: 216.5 kB / 1.222 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.8782, allocations: 191 kB / 1.222 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.8783, allocations: 42.19 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.8783, allocations: 3.938 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.8788, allocations: 173.5 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.8788, allocations: 0 / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.8788, allocations: 0 / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.8788, allocations: 4 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.8795, allocations: 231.8 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/0.8804, allocations: 0.5116 MB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.881, allocations: 242.3 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.8813, allocations: 116.8 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.8813, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.8814, allocations: 34.56 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.8814, allocations: 0 / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.001/0.8824, allocations: 373.2 kB / 1.223 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.8825, allocations: 55.41 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.8826, allocations: 162.2 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.8827, allocations: 25.7 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.8828, allocations: 112.2 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.8828, allocations: 7.953 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.8829, allocations: 21.69 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.883, allocations: 314.8 kB / 1.224 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.8833, allocations: 115.9 kB / 1.224 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.8836, allocations: 115.9 kB / 1.224 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.8841, allocations: 196.7 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.8841, allocations: 3.984 kB / 1.225 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006674/0.8848, allocations: 257.3 kB / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.8848, allocations: 4 kB / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8848, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8848, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.8851, allocations: 51.94 kB / 1.225 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8851, allocations: 3.938 kB / 1.225 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.8852, allocations: 31.94 kB / 1.225 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.8853, allocations: 7.922 kB / 1.225 GB, free: 13.62 MB / 0.9356 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.0001122/0.8854, allocations: 129.8 kB / 1.225 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.8854, allocations: 11.89 kB / 1.225 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.8854, allocations: 15.95 kB / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.8854, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.8854, allocations: 3.938 kB / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.8854, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.8857, allocations: 249.4 kB / 1.225 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8857, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.8859, allocations: 47.92 kB / 1.225 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8859, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.886, allocations: 7.922 kB / 1.225 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.886, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.886, allocations: 7.938 kB / 1.225 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.8867, allocations: 355.2 kB / 1.226 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.8867, allocations: 81.06 kB / 1.226 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.8868, allocations: 4 kB / 1.226 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.887, allocations: 39.95 kB / 1.226 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.887, allocations: 7.922 kB / 1.226 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.887, allocations: 4 kB / 1.226 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001193/0.8871, allocations: 129.4 kB / 1.226 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8871, allocations: 4 kB / 1.226 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002531/0.8874, allocations: 12 kB / 1.226 GB, free: 12.44 MB / 0.9356 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.0001705/0.8876, allocations: 107.2 kB / 1.226 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006821/0.8882, allocations: 235.7 kB / 1.226 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8882, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.8886, allocations: 119.9 kB / 1.226 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.8888, allocations: 4 kB / 1.226 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007067/0.8895, allocations: 295.3 kB / 1.227 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.8899, allocations: 0.6924 MB / 1.227 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.264e-05/0.89, allocations: 23.98 kB / 1.227 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.89, allocations: 19.42 kB / 1.227 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.89, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of Templates: time 0.004311/0.8943, allocations: 1.319 MB / 1.229 GB, free: 9.574 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.83929289598018]