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.0008318/0.0008318, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.000779/0.000779, allocations: 177.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.8747/0.8747, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.73/1.73, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.794e-05, allocations: 10.22 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002499/0.002527, allocations: 1.592 MB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000895/0.003422, allocations: 0.6077 MB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.003483, allocations: 3.938 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.98e-05/0.003532, allocations: 3.938 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.003634, allocations: 15.86 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.003992, allocations: 55.81 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.004106, allocations: 47.84 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.004212, allocations: 19.91 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.004341, allocations: 31.98 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.004393, allocations: 27.89 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.00441, allocations: 4 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.004515, allocations: 55.81 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.004584, allocations: 23.92 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.004613, allocations: 15.94 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.004788, allocations: 103.7 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004791, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.103e-06/0.004792, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.004797, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 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.0004978/0.005295, allocations: 325.9 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.005335, allocations: 8.75 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005458/0.00588, allocations: 328.2 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.006096, allocations: 166.1 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.006166, allocations: 63.95 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.006182, allocations: 8.375 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.006467, allocations: 213.7 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.006477, allocations: 0 / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.00649, allocations: 8 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.006495, allocations: 4 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.006808, allocations: 279.6 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.007465, allocations: 0.5074 MB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.007903, allocations: 290.2 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.008105, allocations: 144.7 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.008119, allocations: 0 / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.008139, allocations: 30.56 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.72e-07/0.00814, allocations: 0 / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0005627/0.008703, allocations: 465 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.008732, allocations: 51.41 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.008833, allocations: 165 kB / 1.006 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.008847, allocations: 25.7 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.008898, allocations: 100.1 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.008915, allocations: 7.953 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.008958, allocations: 45.61 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.009038, allocations: 318.8 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.009197, allocations: 143.8 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.009353, allocations: 143.8 kB / 1.007 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.009623, allocations: 248.6 kB / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.009625, allocations: 0 / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003265/0.009952, allocations: 321.2 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.009963, allocations: 4 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.009967, allocations: 4 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.009978, allocations: 0 / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.01009, allocations: 83.84 kB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.0101, allocations: 0 / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.01017, allocations: 51.92 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.01023, allocations: 79.78 kB / 1.008 GB, free: 5.605 MB / 0.9636 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 6.135e-05/0.01029, allocations: 117.8 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.01031, allocations: 7.953 kB / 1.008 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.01032, allocations: 7.969 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01032, allocations: 0 / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01033, allocations: 0 / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01033, allocations: 3.984 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.01047, allocations: 193.2 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.01047, allocations: 3.938 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.01057, allocations: 79.83 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01057, allocations: 3.984 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01058, allocations: 15.97 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.01058, allocations: 0 / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01058, allocations: 4 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.01094, allocations: 415 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.01095, allocations: 11.95 kB / 1.009 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.01097, allocations: 8 kB / 1.009 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.01105, allocations: 55.95 kB / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.01108, allocations: 7.922 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.01112, allocations: 67.91 kB / 1.009 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.483e-05/0.01119, allocations: 121.6 kB / 1.009 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01119, allocations: 0 / 1.009 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000168/0.01136, allocations: 12 kB / 1.009 GB, free: 4.438 MB / 0.9636 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.0001143/0.01147, allocations: 107.2 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.01184, allocations: 295.6 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01184, allocations: 0 / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.012, allocations: 151.8 kB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.01217, allocations: 4 kB / 1.01 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.01263, allocations: 338.4 kB / 1.01 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.0127, allocations: 87.23 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.01278, allocations: 44.44 kB / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.01278, allocations: 0 / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of Templates: time 0.002287/0.01506, allocations: 1.766 MB / 1.012 GB, free: 1.598 MB / 0.9636 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.364703490398824]