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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001317/0.001317, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001264/0.001264, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.542/2.542, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 60.06 kB / 0.9088 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3154, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003366/0.3188, allocations: 1.574 MB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.32, allocations: 0.5922 MB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.3201, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.913e-05/0.3202, allocations: 3.938 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.3204, allocations: 11.92 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.3207, allocations: 59.83 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3209, allocations: 47.84 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.321, allocations: 15.98 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3211, allocations: 19.92 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.3212, allocations: 27.84 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3212, allocations: 4 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.3214, allocations: 51.89 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.3215, allocations: 27.91 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.3215, allocations: 31.73 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3217, allocations: 92.05 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3217, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.727e-06/0.3217, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.3218, allocations: 7.922 kB / 1.067 GB, free: 12.4 MB / 0.8419 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.0006283/0.3224, allocations: 395.1 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3224, allocations: 8.625 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/0.3234, allocations: 212.4 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.3236, allocations: 190.3 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.3237, allocations: 30.25 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3237, allocations: 11.94 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.3242, allocations: 169.5 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3242, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.3242, allocations: 7.938 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3242, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.3248, allocations: 235.8 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008677/0.3257, allocations: 0.5 MB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.3263, allocations: 246.3 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.3266, allocations: 120.8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3266, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.3267, allocations: 30.56 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.3267, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0009796/0.3277, allocations: 373.3 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.3277, allocations: 55.44 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3279, allocations: 164.4 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3279, allocations: 25.7 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.328, allocations: 108 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.328, allocations: 7.938 kB / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.3281, allocations: 21.69 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.3282, allocations: 318.8 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.3285, allocations: 111.9 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.3288, allocations: 115.9 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.3293, allocations: 204.7 kB / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3293, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000608/0.3299, allocations: 253.4 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3299, allocations: 7.938 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3299, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3299, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.3302, allocations: 51.84 kB / 1.071 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3302, allocations: 7.938 kB / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.3304, allocations: 43.81 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3304, allocations: 3.984 kB / 1.071 GB, free: 8.223 MB / 0.8419 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.0001122/0.3305, allocations: 118.4 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.3306, allocations: 7.906 kB / 1.071 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.3306, allocations: 15.86 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3306, allocations: 0 / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3306, allocations: 3.938 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3306, allocations: 4 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3309, allocations: 241.6 kB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3309, allocations: 4 kB / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.3311, allocations: 39.92 kB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3311, allocations: 0 / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3311, allocations: 3.984 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3311, allocations: 0 / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3311, allocations: 11.94 kB / 1.071 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.3318, allocations: 355.1 kB / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.3318, allocations: 84.95 kB / 1.071 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3319, allocations: 4 kB / 1.071 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3321, allocations: 31.94 kB / 1.071 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3321, allocations: 11.91 kB / 1.071 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3321, allocations: 8.031 kB / 1.071 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3322, allocations: 131.4 kB / 1.072 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.51e-07/0.3322, allocations: 0 / 1.072 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002613/0.3325, allocations: 16 kB / 1.072 GB, free: 7.055 MB / 0.8419 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.0001663/0.3327, allocations: 103.3 kB / 1.072 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006321/0.3333, allocations: 235.7 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3333, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.3336, allocations: 127.9 kB / 1.072 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3339, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.3346, allocations: 316.7 kB / 1.072 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3349, allocations: 0.704 MB / 1.073 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.335, allocations: 19.42 kB / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.335, allocations: 0 / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of Templates: time 0.003607/0.3386, allocations: 1.666 MB / 1.075 GB, free: 3.832 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches