Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 106.2 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.969/2.969, allocations: 489.7 MB / 0.7761 GB, free: 33.62 MB / 0.6231 GB [Timeout remaining time 87] 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.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 66.95 kB / 1.127 GB, free: 36.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3404, allocations: 172.1 MB / 1.295 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003071/0.3434, allocations: 1.542 MB / 1.296 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3448, allocations: 0.7596 MB / 1.297 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.3449, allocations: 0 / 1.297 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.3449, allocations: 7.922 kB / 1.297 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.345, allocations: 11.86 kB / 1.297 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.3454, allocations: 91.66 kB / 1.297 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3456, allocations: 59.72 kB / 1.297 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3457, allocations: 12 kB / 1.297 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3458, allocations: 27.84 kB / 1.297 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.3458, allocations: 19.92 kB / 1.297 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3459, allocations: 4 kB / 1.297 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.346, allocations: 71.92 kB / 1.297 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.346, allocations: 3.938 kB / 1.297 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.3461, allocations: 27.86 kB / 1.297 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3463, allocations: 99.64 kB / 1.298 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3463, allocations: 0 / 1.298 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.466e-06/0.3463, allocations: 4 kB / 1.298 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3463, allocations: 0 / 1.298 GB, free: 8.965 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005392/0.3468, allocations: 371 kB / 1.298 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3469, allocations: 12.03 kB / 1.298 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.3472, allocations: 32.8 kB / 1.298 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.3474, allocations: 180.3 kB / 1.298 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3474, allocations: 384 / 1.298 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3474, allocations: 4.375 kB / 1.298 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.3477, allocations: 85.88 kB / 1.298 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3477, allocations: 0 / 1.298 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3477, allocations: 0 / 1.298 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3477, allocations: 4 kB / 1.298 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.348, allocations: 63.95 kB / 1.298 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.3486, allocations: 324.7 kB / 1.299 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.3489, allocations: 86.45 kB / 1.299 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.349, allocations: 40.92 kB / 1.299 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.349, allocations: 0 / 1.299 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3491, allocations: 34.56 kB / 1.299 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3491, allocations: 0 / 1.299 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005567/0.3496, allocations: 133.6 kB / 1.299 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3497, allocations: 55.41 kB / 1.299 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3498, allocations: 113.8 kB / 1.299 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3498, allocations: 25.7 kB / 1.299 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.3499, allocations: 100.1 kB / 1.299 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.3499, allocations: 7.891 kB / 1.299 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.35, allocations: 25.7 kB / 1.299 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3501, allocations: 314.8 kB / 1.299 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3502, allocations: 35.97 kB / 1.3 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3504, allocations: 35.91 kB / 1.3 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.3506, allocations: 64.81 kB / 1.3 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3506, allocations: 0 / 1.3 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000328/0.3509, allocations: 113.6 kB / 1.3 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.351, allocations: 4 kB / 1.3 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.351, allocations: 0 / 1.3 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.351, allocations: 4 kB / 1.3 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3511, allocations: 19.92 kB / 1.3 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3511, allocations: 0 / 1.3 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.031e-05/0.3512, allocations: 7.984 kB / 1.3 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3512, allocations: 0 / 1.3 GB, free: 6.488 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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.0001037/0.3513, allocations: 121.8 kB / 1.3 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3514, allocations: 4 kB / 1.3 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.3514, allocations: 15.89 kB / 1.3 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3514, allocations: 0 / 1.3 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3514, allocations: 0 / 1.3 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3514, allocations: 4 kB / 1.3 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.3517, allocations: 193.5 kB / 1.3 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3517, allocations: 3.938 kB / 1.3 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3518, allocations: 19.97 kB / 1.3 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3518, allocations: 0 / 1.3 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3518, allocations: 0 / 1.3 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3518, allocations: 4 kB / 1.3 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3518, allocations: 0 / 1.3 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.3522, allocations: 203.4 kB / 1.3 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.3522, allocations: 85.06 kB / 1.3 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3523, allocations: 4 kB / 1.3 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3524, allocations: 12.36 kB / 1.3 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.3524, allocations: 0 / 1.3 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3524, allocations: 3.984 kB / 1.3 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.3525, allocations: 95.27 kB / 1.3 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3525, allocations: 0 / 1.3 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002699/0.3528, allocations: 31.81 kB / 1.301 GB, free: 5.605 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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.0002165/0.353, allocations: 123.7 kB / 1.301 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.3533, allocations: 79.92 kB / 1.301 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3533, allocations: 0 / 1.301 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3535, allocations: 39.89 kB / 1.301 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3538, allocations: 11.94 kB / 1.301 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.3543, allocations: 192.7 kB / 1.301 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.3546, allocations: 0.6885 MB / 1.302 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.3547, allocations: 15.42 kB / 1.302 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3547, allocations: 0 / 1.302 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of Templates: time 0.00329/0.3579, allocations: 1.308 MB / 1.303 GB, free: 3.086 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time