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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001245/0.001245, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001539/0.001539, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003397, allocations: 15.98 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.621, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001622/0.6226, allocations: 1.291 MB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008539/0.6235, allocations: 0.5508 MB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.6235, allocations: 4 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.6236, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.411e-05/0.6237, allocations: 11.92 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.6239, allocations: 31.95 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.624, allocations: 35.89 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.168e-05/0.6241, allocations: 15.98 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.6242, allocations: 27.86 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.6242, allocations: 19.91 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.6243, allocations: 3.938 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.6244, allocations: 43.95 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.6244, allocations: 19.92 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.6245, allocations: 33.64 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.6246, allocations: 63.89 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.6246, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6246, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6246, allocations: 4 kB / 1.023 GB, free: 14.95 MB / 0.7794 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.0004882/0.6251, allocations: 381 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.6251, allocations: 11.98 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/0.626, allocations: 215.5 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.6262, allocations: 194.3 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.6263, allocations: 33.69 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.6263, allocations: 3.953 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.6267, allocations: 181.5 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6267, allocations: 0 / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.6267, allocations: 0 / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.6267, allocations: 0 / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006005/0.6274, allocations: 239.8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.6282, allocations: 0.5154 MB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.6288, allocations: 242.3 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.6288, allocations: 3.984 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.6288, allocations: 30.56 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.6288, allocations: 8.062 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0009851/0.6298, allocations: 377.2 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.6299, allocations: 51.41 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.63, allocations: 164.6 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.6301, allocations: 25.83 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.6301, allocations: 108.1 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.6302, allocations: 15.91 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.6302, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6303, allocations: 322.8 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.6306, allocations: 119.9 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.6309, allocations: 111.9 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.6312, allocations: 104 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6312, allocations: 0 / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006192/0.6318, allocations: 261.3 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6318, allocations: 6.031 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6319, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.6319, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.6321, allocations: 51.94 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.6321, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.6323, allocations: 43.78 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.6323, allocations: 0 / 1.027 GB, free: 10.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.933e-05/0.6324, allocations: 133.7 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.6324, allocations: 7.906 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.6325, allocations: 11.86 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.6325, allocations: 4 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6325, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6325, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.6328, allocations: 245.5 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6328, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.633, allocations: 47.92 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.633, allocations: 0 / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.633, allocations: 7.922 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.633, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.633, allocations: 4 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.6337, allocations: 359.2 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.6337, allocations: 85.02 kB / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.6338, allocations: 4.031 kB / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.634, allocations: 31.94 kB / 1.027 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.634, allocations: 11.92 kB / 1.027 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.634, allocations: 4 kB / 1.027 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.008e-05/0.6341, allocations: 130.7 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6341, allocations: 0 / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002571/0.6344, allocations: 20 kB / 1.028 GB, free: 9.812 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001518/0.6345, allocations: 103.2 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006266/0.6352, allocations: 235.7 kB / 1.028 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6352, allocations: 0 / 1.028 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.6355, allocations: 123.9 kB / 1.028 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.6357, allocations: 13.61 kB / 1.028 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.6363, allocations: 306.4 kB / 1.028 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.6365, allocations: 0.7004 MB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.6366, allocations: 20 kB / 1.029 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.6367, allocations: 15.42 kB / 1.029 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.6367, allocations: 0 / 1.029 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of Templates: time 0.003223/0.6399, allocations: 1.201 MB / 1.03 GB, free: 7.051 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches