Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 110.1 kB / 16.41 MB, free: 6.496 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.00138/0.00138, allocations: 183.1 kB / 17.34 MB, free: 5.762 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8526/0.8545, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002293/0.8568, allocations: 1.534 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.8578, allocations: 0.7556 MB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.8579, allocations: 4 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.8579, allocations: 5.75 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.858, allocations: 15.22 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.8583, allocations: 87.62 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.72e-05/0.8584, allocations: 51.03 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.8585, allocations: 16.23 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.8586, allocations: 29.09 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.8587, allocations: 26.22 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.8587, allocations: 3.156 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.8588, allocations: 68.45 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.8589, allocations: 6.766 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.8589, allocations: 20.66 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.8591, allocations: 108.4 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.8591, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8591, allocations: 0.9688 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.8591, allocations: 4 kB / 1.091 GB, free: 3.73 MB / 0.8575 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.0003682/0.8595, allocations: 375 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.8595, allocations: 9.406 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.8598, allocations: 26.52 kB / 1.092 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.8599, allocations: 177.9 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.8599, allocations: 5.438 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.8599, allocations: 3.234 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.8602, allocations: 81.62 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8602, allocations: 1.219 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.8602, allocations: 4.453 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.8602, allocations: 0.9062 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.8605, allocations: 73.27 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.8609, allocations: 321.5 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.8612, allocations: 71.41 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.8613, allocations: 42.22 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.8613, allocations: 1.766 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.158e-05/0.8613, allocations: 31.56 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.8613, allocations: 3.938 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004976/0.8618, allocations: 140.3 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.8619, allocations: 52.92 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.8619, allocations: 117.5 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.862, allocations: 26.73 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.862, allocations: 88.33 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.862, allocations: 5.266 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.8621, allocations: 23.34 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.8621, allocations: 321.6 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.8622, allocations: 33.09 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.8624, allocations: 32.3 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.8626, allocations: 77.89 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8626, allocations: 0 / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002945/0.8629, allocations: 101 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.8629, allocations: 5.938 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.863, allocations: 0 / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.863, allocations: 0.6094 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.8631, allocations: 28.64 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.8631, allocations: 0 / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.8632, allocations: 7.281 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.8632, allocations: 3.469 kB / 1.093 GB, free: 1.855 MB / 0.8575 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 5.039e-05/0.8633, allocations: 112.7 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.8633, allocations: 7.297 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.8634, allocations: 15.8 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8634, allocations: 8.766 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8634, allocations: 4.656 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.8634, allocations: 0 / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.8635, allocations: 200.6 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8635, allocations: 0 / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.8637, allocations: 16.3 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8637, allocations: 0.9375 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.8637, allocations: 3.594 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.8637, allocations: 0.5625 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8637, allocations: 1 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.864, allocations: 204.1 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.872e-05/0.864, allocations: 83.84 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.8641, allocations: 1.516 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.8642, allocations: 10.06 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.8642, allocations: 3.922 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.8642, allocations: 3.25 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.8643, allocations: 92.31 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8643, allocations: 3.938 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002542/0.8645, allocations: 31.08 kB / 1.094 GB, free: 1.141 MB / 0.8575 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.0001512/0.8647, allocations: 121.2 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.865, allocations: 76.19 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.865, allocations: 0 / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.8652, allocations: 38.41 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.8654, allocations: 9.438 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.8658, allocations: 191.8 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.8659, allocations: 0.6835 MB / 1.095 GB, free: 160 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.866, allocations: 21.02 kB / 1.095 GB, free: 148 kB / 0.8575 GB Notification: Performance of SimCode: time 8.82e-07/0.866, allocations: 0 / 1.095 GB, free: 148 kB / 0.8575 GB Notification: Performance of Templates: time 0.003194/0.8692, allocations: 1.304 MB / 1.097 GB, free: 16 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time