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.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.001648/0.001648, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001773/0.001773, allocations: 191.6 kB / 22.11 MB, free: 4.223 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.532/1.532, allocations: 225.6 MB / 250.8 MB, free: 2.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.024/3.024, allocations: 495.8 MB / 0.7831 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 59.89 kB / 1.137 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 173.6 MB / 1.307 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002995/1.095, allocations: 1.598 MB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00115/1.096, allocations: 0.5972 MB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/1.096, allocations: 1.094 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.003e-05/1.096, allocations: 5.344 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/1.097, allocations: 11.64 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/1.097, allocations: 56.09 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/1.097, allocations: 50.28 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/1.097, allocations: 18.53 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/1.097, allocations: 29.3 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/1.097, allocations: 20.66 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/1.097, allocations: 3.312 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/1.097, allocations: 54.86 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/1.098, allocations: 19.45 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/1.098, allocations: 28.23 kB / 1.309 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/1.098, allocations: 104 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/1.098, allocations: 3.938 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.744e-06/1.098, allocations: 0.9062 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.098, allocations: 0 / 1.309 GB, free: 15.21 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.0006142/1.098, allocations: 319.8 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.098, allocations: 9.922 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009826/1.099, allocations: 212.4 kB / 1.31 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/1.1, allocations: 133.9 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/1.1, allocations: 33.88 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/1.1, allocations: 5.344 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/1.1, allocations: 173.9 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.1, allocations: 0 / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/1.1, allocations: 5.281 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.1, allocations: 4.594 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/1.101, allocations: 239.5 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009604/1.102, allocations: 499 kB / 1.311 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/1.102, allocations: 235.3 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/1.103, allocations: 116 kB / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/1.103, allocations: 7.938 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/1.103, allocations: 32.3 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/1.103, allocations: 4 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.001085/1.104, allocations: 364.4 kB / 1.312 GB, free: 14.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/1.104, allocations: 51.92 kB / 1.312 GB, free: 14.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/1.104, allocations: 172.3 kB / 1.312 GB, free: 13.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/1.104, allocations: 25.7 kB / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/1.104, allocations: 107.3 kB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/1.104, allocations: 5.641 kB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/1.104, allocations: 24.41 kB / 1.312 GB, free: 13.78 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.105, allocations: 320.6 kB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/1.105, allocations: 109.3 kB / 1.312 GB, free: 13.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/1.105, allocations: 119 kB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005762/1.106, allocations: 197.7 kB / 1.313 GB, free: 13.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.106, allocations: 0 / 1.313 GB, free: 13.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00069/1.106, allocations: 258.1 kB / 1.313 GB, free: 13.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.106, allocations: 5.531 kB / 1.313 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.106, allocations: 3.938 kB / 1.313 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.106, allocations: 0 / 1.313 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/1.107, allocations: 49.67 kB / 1.313 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.107, allocations: 11.91 kB / 1.313 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/1.107, allocations: 34.03 kB / 1.313 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/1.107, allocations: 1.625 kB / 1.313 GB, free: 13.22 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.000123/1.107, allocations: 128.5 kB / 1.313 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/1.107, allocations: 16.53 kB / 1.313 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/1.107, allocations: 7.062 kB / 1.313 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.107, allocations: 4.984 kB / 1.313 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.107, allocations: 7.938 kB / 1.313 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.107, allocations: 3.938 kB / 1.313 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/1.107, allocations: 215.1 kB / 1.313 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.107, allocations: 0 / 1.313 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.108, allocations: 50.38 kB / 1.313 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.108, allocations: 0 / 1.313 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/1.108, allocations: 5.109 kB / 1.313 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.108, allocations: 0 / 1.313 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.108, allocations: 5 kB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007666/1.108, allocations: 347.1 kB / 1.314 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/1.108, allocations: 7.266 kB / 1.314 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/1.108, allocations: 4.969 kB / 1.314 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/1.109, allocations: 37.03 kB / 1.314 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/1.109, allocations: 8.938 kB / 1.314 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/1.109, allocations: 6.234 kB / 1.314 GB, free: 12.56 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001218/1.109, allocations: 133.1 kB / 1.314 GB, free: 12.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.109, allocations: 0 / 1.314 GB, free: 12.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002772/1.109, allocations: 15.62 kB / 1.314 GB, free: 12.46 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.0001624/1.109, allocations: 104.3 kB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006899/1.11, allocations: 236.4 kB / 1.314 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.11, allocations: 0 / 1.314 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/1.11, allocations: 113.7 kB / 1.314 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/1.111, allocations: 6.188 kB / 1.314 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/1.111, allocations: 291.8 kB / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/1.112, allocations: 0.6954 MB / 1.315 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001065/1.112, allocations: 25.56 kB / 1.315 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/1.112, allocations: 20.16 kB / 1.315 GB, free: 11.29 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.112, allocations: 0 / 1.315 GB, free: 11.29 MB / 1.014 GB Notification: Performance of Templates: time 0.004367/1.116, allocations: 1.312 MB / 1.317 GB, free: 10.62 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins/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: 9.705504659563303]