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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") 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: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 190.3 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437 MB / 0.71 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7793/0.7807, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002801/0.7836, allocations: 1.637 MB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009734/0.7846, allocations: 0.5854 MB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.7846, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.349e-05/0.7847, allocations: 7.922 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.7848, allocations: 7.875 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.7851, allocations: 43.89 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.7852, allocations: 47.91 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.7854, allocations: 12 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.7855, allocations: 23.91 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.7855, allocations: 31.8 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.7856, allocations: 4 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.7857, allocations: 51.95 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.7858, allocations: 23.91 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.7858, allocations: 35.8 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.786, allocations: 89.72 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.786, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.333e-06/0.786, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7861, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 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.0005637/0.7866, allocations: 399.2 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.7867, allocations: 8.031 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009625/0.7876, allocations: 212.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.7878, allocations: 188.6 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.7879, allocations: 34.27 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.7879, allocations: 7.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.7884, allocations: 185.4 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7884, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.7884, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.7884, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.789, allocations: 235.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008808/0.7899, allocations: 0.5114 MB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.7905, allocations: 242.3 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.7909, allocations: 120.8 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.7909, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.7909, allocations: 34.56 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7909, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0009925/0.7919, allocations: 365.2 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.792, allocations: 55.53 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.7921, allocations: 171.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.7922, allocations: 29.7 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.7922, allocations: 104.1 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.7923, allocations: 3.906 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.7923, allocations: 21.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7924, allocations: 322.8 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.7927, allocations: 115.9 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.793, allocations: 107.9 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.7936, allocations: 196.7 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7936, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006399/0.7942, allocations: 261.3 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.7943, allocations: 8 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7943, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7943, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.7945, allocations: 43.91 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7945, allocations: 3.938 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.7947, allocations: 43.97 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.7947, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 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.0001119/0.7948, allocations: 114.5 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.7949, allocations: 7.906 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.7949, allocations: 15.86 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7949, allocations: 7.938 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7949, allocations: 3.938 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.7949, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.7952, allocations: 245.5 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7952, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.7954, allocations: 39.92 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7954, allocations: 4 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.7954, allocations: 11.92 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7954, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/0.7955, allocations: 15.91 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.7961, allocations: 351.2 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.7962, allocations: 85.02 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.7962, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.7964, allocations: 35.88 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.7965, allocations: 11.92 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.7965, allocations: 4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.32e-05/0.7966, allocations: 134.5 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7966, allocations: 0 / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002678/0.7968, allocations: 16 kB / 1.024 GB, free: 10.73 MB / 0.7794 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.0001901/0.797, allocations: 107.2 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006545/0.7977, allocations: 239.7 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7977, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.798, allocations: 119.9 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.7983, allocations: 5.969 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.799, allocations: 311.2 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.7992, allocations: 0.6961 MB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.7994, allocations: 24 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.7994, allocations: 19.41 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.7994, allocations: 3.938 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of Templates: time 0.003998/0.8034, allocations: 1.255 MB / 1.027 GB, free: 7.902 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) 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) Reference file matches