Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001684/0.001684, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001735/0.001736, allocations: 198.8 kB / 16.91 MB, free: 6.195 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001966, allocations: 68.33 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003168/0.3247, allocations: 1.631 MB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3258, allocations: 0.6001 MB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.3259, allocations: 0 / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.823e-05/0.326, allocations: 0 / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.039e-05/0.3261, allocations: 3.938 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.3264, allocations: 51.88 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3265, allocations: 47.86 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3266, allocations: 15.98 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3268, allocations: 27.92 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.3268, allocations: 23.84 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3269, allocations: 4 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.327, allocations: 51.95 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.3271, allocations: 19.92 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.3271, allocations: 31.8 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3273, allocations: 60.19 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3273, allocations: 3.984 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3273, allocations: 3.938 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3273, allocations: 4 kB / 1.067 GB, free: 12.49 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.0006554/0.328, allocations: 391.1 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.328, allocations: 12.03 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000948/0.329, allocations: 208.4 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3292, allocations: 196.8 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.688e-05/0.3293, allocations: 34.25 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.3293, allocations: 3.938 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.3298, allocations: 173.5 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3298, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3298, allocations: 4 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3298, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.3304, allocations: 235.7 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/0.3314, allocations: 0.5078 MB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.332, allocations: 238.3 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.3323, allocations: 116.8 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3323, allocations: 4 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3324, allocations: 46.5 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.3324, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.001049/0.3334, allocations: 365.2 kB / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3335, allocations: 51.41 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3337, allocations: 171.3 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3337, allocations: 25.7 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.3338, allocations: 108.2 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.3338, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.3339, allocations: 25.69 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.334, allocations: 318.8 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.3343, allocations: 111.9 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.3346, allocations: 111.9 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.3352, allocations: 204.6 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3352, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006498/0.3359, allocations: 253.4 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3359, allocations: 6.344 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3359, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3359, allocations: 4 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3362, allocations: 51.94 kB / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3362, allocations: 3.938 kB / 1.07 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.3363, allocations: 35.84 kB / 1.071 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3364, allocations: 7.984 kB / 1.071 GB, free: 8.312 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.0001029/0.3365, allocations: 113.8 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.3365, allocations: 11.91 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.3366, allocations: 11.86 kB / 1.071 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3366, allocations: 7.875 kB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3366, allocations: 3.938 kB / 1.071 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3366, allocations: 0 / 1.071 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.3369, allocations: 249.6 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3369, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.3372, allocations: 47.92 kB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3372, allocations: 0 / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3372, allocations: 11.92 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3372, allocations: 0 / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3372, allocations: 3.938 kB / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.338, allocations: 347.2 kB / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.701e-05/0.3381, allocations: 88.95 kB / 1.071 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3381, allocations: 0 / 1.071 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3383, allocations: 39.95 kB / 1.071 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.3384, allocations: 11.94 kB / 1.071 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3384, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001349/0.3385, allocations: 130.1 kB / 1.072 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3386, allocations: 3.938 kB / 1.072 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002781/0.3388, allocations: 16 kB / 1.072 GB, free: 7.137 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.0002614/0.3391, allocations: 107.2 kB / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007271/0.3398, allocations: 235.7 kB / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3399, allocations: 0 / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.3402, allocations: 119.9 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.3405, allocations: 4 kB / 1.072 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.3413, allocations: 332.8 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3417, allocations: 0.7001 MB / 1.073 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.3418, allocations: 15.42 kB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of SimCode: time 8.42e-07/0.3418, allocations: 4 kB / 1.073 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.003884/0.3457, allocations: 1.677 MB / 1.075 GB, free: 3.891 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches