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.001024/0.001024, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008896/0.008896, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.455/1.455, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 12.19 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3315, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001919/0.3334, allocations: 1.304 MB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3348, allocations: 0.5923 MB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.3349, allocations: 4 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.335, allocations: 3.938 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.3351, allocations: 3.938 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.3354, allocations: 51.88 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3356, allocations: 39.86 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3357, allocations: 19.98 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3358, allocations: 19.92 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.336, allocations: 27.84 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.336, allocations: 4 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.3362, allocations: 47.89 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.3363, allocations: 15.92 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.3363, allocations: 53.5 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.3366, allocations: 88.02 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3366, allocations: 0 / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3366, allocations: 4 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3366, allocations: 0 / 1.061 GB, free: 3.176 MB / 0.8106 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.0007252/0.3374, allocations: 379.3 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.3374, allocations: 8.031 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009671/0.3384, allocations: 216.4 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3386, allocations: 184.8 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.663e-05/0.3388, allocations: 42.19 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3388, allocations: 3.938 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.3392, allocations: 181.5 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3392, allocations: 0 / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3393, allocations: 0 / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3393, allocations: 0 / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.3399, allocations: 239.8 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009603/0.3408, allocations: 0.5078 MB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.3414, allocations: 246.3 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.3417, allocations: 124.8 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3418, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.3418, allocations: 30.56 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3418, allocations: 3.938 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0009899/0.3428, allocations: 381.3 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3429, allocations: 55.34 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.343, allocations: 168.8 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3431, allocations: 25.7 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.3432, allocations: 108 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3432, allocations: 0 / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.3432, allocations: 13.72 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3434, allocations: 322.9 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.3437, allocations: 111.9 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.344, allocations: 123.9 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.3445, allocations: 200.7 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3445, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006068/0.3451, allocations: 261.3 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3451, allocations: 11.94 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3451, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3452, allocations: 4.031 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.3454, allocations: 43.92 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3454, allocations: 7.922 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.3456, allocations: 35.84 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3456, allocations: 8 kB / 1.065 GB, free: 14.97 MB / 0.8262 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 8.949e-05/0.3457, allocations: 117.8 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.3457, allocations: 11.84 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.3458, allocations: 11.88 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3458, allocations: 3.984 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3458, allocations: 3.938 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3458, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.3461, allocations: 245.6 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3461, allocations: 0 / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.3463, allocations: 47.91 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3463, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3463, allocations: 3.984 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3463, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3463, allocations: 3.938 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.347, allocations: 367.1 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.3471, allocations: 84.95 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.3471, allocations: 4 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3473, allocations: 31.94 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3473, allocations: 3.938 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3473, allocations: 7.984 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001062/0.3475, allocations: 133.5 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3475, allocations: 0 / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002667/0.3477, allocations: 23.94 kB / 1.066 GB, free: 13.79 MB / 0.8262 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.0001671/0.3479, allocations: 99.25 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.3485, allocations: 239.7 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3485, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.3489, allocations: 127.9 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.3491, allocations: 6.812 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.3498, allocations: 314.4 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3501, allocations: 0.6965 MB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.3502, allocations: 31.89 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.3502, allocations: 15.42 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3502, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of Templates: time 0.004137/0.3544, allocations: 1.224 MB / 1.069 GB, free: 11 MB / 0.8262 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/jenkins/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