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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001658/0.001658, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.609/2.609, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.84 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7328, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00283/0.7357, allocations: 1.649 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.7367, allocations: 0.597 MB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.7368, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.899e-05/0.7368, allocations: 7.938 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.7369, allocations: 11.92 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.7372, allocations: 31.97 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.235e-05/0.7372, allocations: 51.84 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.7373, allocations: 19.92 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.7374, allocations: 23.92 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.7375, allocations: 27.84 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.7376, allocations: 4 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.7377, allocations: 51.89 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.7378, allocations: 19.91 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.7378, allocations: 27.81 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.738, allocations: 89.72 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.738, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.52e-07/0.738, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.738, allocations: 0 / 1.019 GB, free: 180 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.0006334/0.7387, allocations: 397 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.7387, allocations: 12.03 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009099/0.7396, allocations: 208.5 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.7398, allocations: 188.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.7399, allocations: 38.23 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.7399, allocations: 11.88 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.7403, allocations: 169.5 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7404, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.7404, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7404, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.741, allocations: 231.8 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.7418, allocations: 0.5193 MB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.7424, allocations: 238.3 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.7428, allocations: 116.8 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.7428, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.7428, allocations: 34.56 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.7428, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.001021/0.7438, allocations: 369.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.7439, allocations: 55.53 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.7441, allocations: 171.7 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.7441, allocations: 25.7 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.7442, allocations: 104.1 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.7442, allocations: 3.906 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.7442, allocations: 21.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7444, allocations: 322.8 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.7447, allocations: 115.9 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.745, allocations: 107.9 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.7455, allocations: 196.7 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7456, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006406/0.7462, allocations: 261.3 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7462, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7462, allocations: 7.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7463, allocations: 3.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.7465, allocations: 43.91 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7465, allocations: 3.938 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.7467, allocations: 47.88 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.7467, allocations: 3.984 kB / 1.023 GB, free: 11.97 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 9.936e-05/0.7468, allocations: 110.5 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.7469, allocations: 7.906 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.7469, allocations: 15.86 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.7469, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7469, allocations: 3.938 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.7469, allocations: 8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.7472, allocations: 241.6 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7472, allocations: 0 / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.7474, allocations: 39.92 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7474, allocations: 0 / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.7474, allocations: 11.98 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7474, allocations: 0 / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.7474, allocations: 3.938 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006716/0.7481, allocations: 355.1 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.7482, allocations: 85.02 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.7482, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.7484, allocations: 31.94 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.7485, allocations: 11.92 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.7485, allocations: 8.031 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001104/0.7486, allocations: 134.5 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7486, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002635/0.7489, allocations: 20 kB / 1.024 GB, free: 10.82 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.0002001/0.7491, allocations: 111.3 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006493/0.7497, allocations: 239.7 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7497, allocations: 0 / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.7501, allocations: 123.9 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.7503, allocations: 5.25 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.751, allocations: 304.8 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.7514, allocations: 0.6965 MB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.7515, allocations: 23.98 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.7515, allocations: 15.42 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.7515, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of Templates: time 0.003582/0.7551, allocations: 1.233 MB / 1.027 GB, free: 8.02 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