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.006955/0.006955, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001552/0.001552, allocations: 198.4 kB / 16.68 MB, free: 5.961 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.344/2.344, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.89 kB / 0.9509 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9004/0.9019, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002597/0.9045, allocations: 1.544 MB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.9057, allocations: 0.7464 MB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.9057, allocations: 0.7188 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.9058, allocations: 5.109 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.513e-05/0.9058, allocations: 20.03 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.9062, allocations: 86.78 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.9063, allocations: 52.12 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.9065, allocations: 11.86 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.9066, allocations: 25.88 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.9067, allocations: 29.05 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.9067, allocations: 3.344 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.907, allocations: 73.11 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.907, allocations: 7.234 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.9071, allocations: 20.84 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.9073, allocations: 99.86 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9074, allocations: 1.156 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9074, allocations: 0 / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.964e-06/0.9074, allocations: 0 / 1.091 GB, free: 3.738 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.0005229/0.9079, allocations: 380.5 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.908, allocations: 9.703 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/0.9083, allocations: 26.41 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.9084, allocations: 178.8 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.9085, allocations: 1.594 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.9085, allocations: 5.531 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.9088, allocations: 86.66 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.9088, allocations: 3.984 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.9088, allocations: 5.125 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.9089, allocations: 4.797 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.9092, allocations: 65.22 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.9097, allocations: 330.7 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.91, allocations: 71.05 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.9101, allocations: 38.91 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.9102, allocations: 4.781 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.9102, allocations: 31.7 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.9102, allocations: 0 / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.00055/0.9107, allocations: 140.6 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.9108, allocations: 56.83 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.9109, allocations: 117 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.9109, allocations: 27.08 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.9109, allocations: 87.89 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.911, allocations: 13.81 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.911, allocations: 18.8 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.9111, allocations: 322.4 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.9112, allocations: 36.2 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.9113, allocations: 28.73 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.9116, allocations: 69.69 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9116, allocations: 0 / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003164/0.9119, allocations: 109.7 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.912, allocations: 4.844 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.912, allocations: 0 / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.912, allocations: 1.875 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.9121, allocations: 15.66 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.9122, allocations: 4.547 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.9123, allocations: 10.72 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.9123, allocations: 3.516 kB / 1.093 GB, free: 1.844 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.623e-05/0.9123, allocations: 120.9 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.9124, allocations: 7.656 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.9124, allocations: 10.48 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.9124, allocations: 1.984 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9124, allocations: 0 / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.9124, allocations: 0.875 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.9126, allocations: 192.3 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9126, allocations: 0 / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.9127, allocations: 20.83 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9128, allocations: 0 / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.9128, allocations: 7.594 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.9128, allocations: 0.875 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9128, allocations: 4.734 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.9131, allocations: 208.7 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.9132, allocations: 83.58 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.9132, allocations: 0.7031 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.9133, allocations: 11.3 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.9134, allocations: 2.422 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.9134, allocations: 7.75 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.9134, allocations: 97.03 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9134, allocations: 0 / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002833/0.9137, allocations: 26.16 kB / 1.094 GB, free: 1.129 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.0001781/0.9139, allocations: 126.5 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.9143, allocations: 75.48 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9143, allocations: 4.594 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.9144, allocations: 38.34 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.9148, allocations: 10.22 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.9152, allocations: 156.3 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.9153, allocations: 0.6869 MB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.405e-05/0.9154, allocations: 16.83 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.9154, allocations: 18.5 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.9154, allocations: 3.938 kB / 1.095 GB, free: 148 kB / 0.8575 GB Notification: Performance of Templates: time 0.003976/0.9194, allocations: 1.087 MB / 1.096 GB, free: 20 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches