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) 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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_latest_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.008504/0.008504, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001935/0.001935, allocations: 196 kB / 16.79 MB, free: 5.809 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.732/2.732, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.8991 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3296, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003133/0.3328, allocations: 1.6 MB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3341, allocations: 0.779 MB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.3342, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.3342, allocations: 3.984 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.3343, allocations: 15.86 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.3347, allocations: 71.8 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.3348, allocations: 47.8 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.3349, allocations: 11.98 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3351, allocations: 27.91 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.3351, allocations: 23.86 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3352, allocations: 4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.3353, allocations: 63.94 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.3353, allocations: 7.984 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.3354, allocations: 15.88 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3355, allocations: 76.12 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3355, allocations: 4 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3356, allocations: 0 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3356, allocations: 0 / 1.055 GB, free: 5.535 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005178/0.3361, allocations: 375.3 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3361, allocations: 12.03 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.3365, allocations: 20.91 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3366, allocations: 176.2 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3366, allocations: 8.312 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.3367, allocations: 384 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.3369, allocations: 85.92 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.337, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.337, allocations: 4 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.337, allocations: 3.938 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.3373, allocations: 67.94 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.3378, allocations: 320.7 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.3381, allocations: 78.47 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3382, allocations: 32.94 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3383, allocations: 7.984 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3383, allocations: 34.56 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3383, allocations: 0 / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000549/0.3388, allocations: 133.5 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.3389, allocations: 51.41 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.339, allocations: 117.8 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.339, allocations: 25.7 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.3391, allocations: 100 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.3391, allocations: 11.84 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.3392, allocations: 17.7 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3393, allocations: 326.8 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3394, allocations: 27.98 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3396, allocations: 31.97 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.3398, allocations: 68.75 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3398, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003286/0.3402, allocations: 113.5 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3402, allocations: 4 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3402, allocations: 4 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3402, allocations: 4 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3404, allocations: 19.97 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3404, allocations: 0 / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.3405, allocations: 4 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.3405, allocations: 7.984 kB / 1.058 GB, free: 3.062 MB / 0.8106 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 8.113e-05/0.3406, allocations: 113.8 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.3406, allocations: 4 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.3407, allocations: 11.91 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3407, allocations: 4 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3407, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3407, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.3409, allocations: 189.5 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3409, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.3411, allocations: 16.31 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3411, allocations: 0 / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3411, allocations: 3.984 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3411, allocations: 4 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3411, allocations: 4 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.3415, allocations: 207.2 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.3415, allocations: 88.95 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.3416, allocations: 4 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3417, allocations: 8 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.3417, allocations: 3.984 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3417, allocations: 4 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.3418, allocations: 95.64 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3418, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002769/0.3421, allocations: 27.98 kB / 1.058 GB, free: 2.191 MB / 0.8106 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.000208/0.3423, allocations: 135.1 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003332/0.3427, allocations: 75.88 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3427, allocations: 0 / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3428, allocations: 35.97 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3432, allocations: 7.938 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.3437, allocations: 202.7 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3439, allocations: 0.6809 MB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.344, allocations: 19.42 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.344, allocations: 0 / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of Templates: time 0.003086/0.3471, allocations: 1.288 MB / 1.061 GB, free: 15.69 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) 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) "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time