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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 107.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.287/3.287, allocations: 496.1 MB / 0.7801 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 72.8 kB / 1.133 GB, free: 34.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5168, allocations: 173.7 MB / 1.303 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.005158/0.522, allocations: 1.578 MB / 1.304 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.5239, allocations: 0.596 MB / 1.305 GB, free: 448 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.524, allocations: 4 kB / 1.305 GB, free: 444 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.53e-05/0.5241, allocations: 3.938 kB / 1.305 GB, free: 440 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.5242, allocations: 11.91 kB / 1.305 GB, free: 428 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.5247, allocations: 47.83 kB / 1.305 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.5249, allocations: 55.78 kB / 1.305 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.5251, allocations: 11.98 kB / 1.305 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.5252, allocations: 19.92 kB / 1.305 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.5253, allocations: 27.84 kB / 1.305 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.5254, allocations: 8 kB / 1.305 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.5256, allocations: 59.88 kB / 1.305 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.5257, allocations: 23.92 kB / 1.305 GB, free: 172 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.5258, allocations: 23.81 kB / 1.305 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.5261, allocations: 91.62 kB / 1.305 GB, free: 56 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.5261, allocations: 4 kB / 1.305 GB, free: 52 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5261, allocations: 0 / 1.305 GB, free: 52 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5261, allocations: 0 / 1.305 GB, free: 52 kB / 0.9981 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.001118/0.5273, allocations: 403.1 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.5273, allocations: 11.97 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.529, allocations: 212.5 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.5295, allocations: 190.7 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.5296, allocations: 30.27 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.5296, allocations: 15.88 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009807/0.5306, allocations: 169.5 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5306, allocations: 0 / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.5306, allocations: 0 / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5307, allocations: 4 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.5318, allocations: 235.8 kB / 1.306 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.5334, allocations: 0.5154 MB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.5346, allocations: 242.3 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/0.5351, allocations: 120.8 kB / 1.307 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5351, allocations: 4 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.5352, allocations: 34.5 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/0.5352, allocations: 0 / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.002093/0.5373, allocations: 369.3 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.5374, allocations: 51.41 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.5377, allocations: 179.4 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.5377, allocations: 25.7 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5378, allocations: 100.2 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.5379, allocations: 11.94 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.538, allocations: 17.7 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.5382, allocations: 326.9 kB / 1.308 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/0.5388, allocations: 115.9 kB / 1.308 GB, free: 12.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.5394, allocations: 111.9 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.5404, allocations: 200.7 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5404, allocations: 0 / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.001273/0.5417, allocations: 261.3 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.5417, allocations: 8 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5417, allocations: 0 / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.5417, allocations: 0 / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.5421, allocations: 47.94 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.5421, allocations: 3.938 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.5426, allocations: 43.81 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.5426, allocations: 0 / 1.309 GB, free: 11.83 MB / 1.014 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.0001759/0.5428, allocations: 117.8 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.5428, allocations: 7.953 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.5429, allocations: 19.86 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5429, allocations: 0 / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.5429, allocations: 7.938 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5429, allocations: 0 / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.5435, allocations: 245.5 kB / 1.309 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5435, allocations: 0 / 1.309 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.5438, allocations: 39.92 kB / 1.309 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5438, allocations: 4 kB / 1.309 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.5438, allocations: 7.984 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5438, allocations: 0 / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.5438, allocations: 3.938 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.545, allocations: 355.2 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.5453, allocations: 85.06 kB / 1.31 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.5453, allocations: 0 / 1.31 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.5457, allocations: 35.97 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.5457, allocations: 11.92 kB / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.5457, allocations: 0 / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002623/0.546, allocations: 132 kB / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/0.546, allocations: 3.938 kB / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004763/0.5465, allocations: 16 kB / 1.31 GB, free: 10.66 MB / 1.014 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.0002402/0.5467, allocations: 103.2 kB / 1.31 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.5479, allocations: 235.7 kB / 1.31 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5479, allocations: 0 / 1.31 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.5485, allocations: 119.9 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.5489, allocations: 6.812 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.5501, allocations: 295 kB / 1.311 GB, free: 9.891 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/0.5508, allocations: 0.6885 MB / 1.312 GB, free: 9.176 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000191/0.551, allocations: 31.75 kB / 1.312 GB, free: 9.148 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.5511, allocations: 19.41 kB / 1.312 GB, free: 9.133 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/0.5511, allocations: 0 / 1.312 GB, free: 9.133 MB / 1.014 GB Notification: Performance of Templates: time 0.007532/0.5586, allocations: 1.3 MB / 1.313 GB, free: 7.832 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.037770350463688]